Subject: Forcing a call to a Java method
From: Martin Wegner <marty@xxxxxxxxxxx>
Date: Fri, 23 Jun 2006 09:00:34 -0700 (PDT)
|
Greetings.
I have a Java method I want to call from my XSLT script (I am using Saxon of course). I use the following code:
<xsl:variable name="ignore" select="foo:bar()"/>
The bar method doesn't return anything of value, it really is a void method that I have returning the dummy value 1. But the xsl:variable method is optimized out since I never use the returned value.
What is the syntax to force the XSLT engine to call foo:bar?
Thanks in advance.
--Marty
|