RE: [xsl] access java from xslt

Subject: RE: [xsl] access java from xslt
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 13 Dec 2001 20:36:19 -0000
> 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


Current Thread