This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Calling a java function and returning a NodeList
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 1 Oct 2002 17:02:36 +0100
- Subject: RE: [xsl] Calling a java function and returning a NodeList
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Can i return a Nodelist or a Node from a Java function to a
> XSL. I want to return the Node or Nodelist using JAXP and not
> go with any
> specific XML Parser.
The calling conventions for XSLT-Java depend on the processor you are
using, there is no standard API for this.
The best way of achieving portability is to use document() with a
URIResolver, instead of calling an extension function.
I learnt that saxon needs NodeList built
> using its own parser.
Many XSLT processors will only work with the DOM implementation from the
same supplier.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list