> I have seen the following example for accessing a Java class
> from inside
> XSLT.
>
> <xsl:variable name="date"
> select="Date:toString(Date:new())"
> xmlns:Date="http://www.jclark.com/xt/java/java.util.Date"/>
>
The details depend on the product you are using. You'll find a general
discussion in Chapter 8 of XSLT Programmer's Reference (Wrox Press, 2nd ed),
and information for specific processors (Saxon, Xalan, Oracle,...) in the
relevant product appendices.
Don't try to work out how to do it by looking at examples and copying them;
it's too complicated to work it out that way.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|