|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT functions in XPath
> http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/XPathC > onstants.html#NODESET > > Xerces throws an exception, > Saxon returns an ArrayList (which is more useful, but > unexpected according to the spec ) When implementing the JAXP XPath API I had to make decisions about how to extend it to support XPath 2.0, since as written it's really designed for XPath 1.0. Also, it's primarily focused on supporting access to the DOM. I decided (rightly or wrongly) that it made sense always to return the results as a List, rather than special-casing the situation where the result is a sequence of DOM nodes and using a DOM NodeList for that special case. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








