This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: access java from xslt
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 13 Dec 2001 20:36:19 -0000
- Subject: RE: [xsl] access java from xslt
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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