When using the javaclass extension in Xalan I have been using <xsl:if/> to use Set methods. I can't use <xsl:value-of/> because I don't want any results of the setters to show up in the content. Problem is, <xsl:if/> only works inside of templates, etc. and not inside of <xsl:stylesheet> where I often need to use a Java setter. Is there a better way to do this?: <xsl:if test="java:add($calendar, $month-field-value, $month-offset)"/>

Thanks,
RRM



Reply via email to