xsl-list
[Top] [All Lists]

[xsl] Forcing a call to a Java method

2006-06-23 09:00:49
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>