This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Calling a java function and returning a NodeList


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]