xsl-list
[Top] [All Lists]

RE: Calling a java function and returning a NodeList

2002-10-01 09:02:36
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>
  • RE: Calling a java function and returning a NodeList, Michael Kay <=