xsl-list
[Top] [All Lists]

Re: [xsl] XSLT functions in XPath

2006-10-11 06:04:03
Just a side note:

Owen Rees wrote:
[...]
> If you use the Java 5 XPath implementation (which is a version of
> Xerces) then you will find yourself getting
> "com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList" as the result of
> xpath.evaluate(path,context,XPathConstants.NODESET).
[...]

Xerces does not provide an XPath implementation (it implements only support for the limited expressions allowed by XML Schema constraints). Xalan provides an XPath 1.0 implementation and from the com.sun.org.apache... package name it seems there is the Sun (derived from Xalan) implementation that is included with the JVM.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>