RE: [xsl] Calling a java function and returning a NodeList

Subject: RE: [xsl] Calling a java function and returning a NodeList
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 1 Oct 2002 17:02:36 +0100
> 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@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread