Try using a dummy wariable that does not come in the output. <xsl:variable name="dummy" select="java:add($calendar, $month-field-value, $month-offset)"/>

This should work.

-Siljan


----- Original Message ----- From: "Richard R. McKinley" <[EMAIL PROTECTED]> Date: Mon, 08 Sep 2003 15:42:50 -0600 To: [EMAIL PROTECTED] Subject: Xalan javaclass extension best place to 'Set'

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


-- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers



Reply via email to