Re: [xsl] XSLT functions in XPath

Subject: Re: [xsl] XSLT functions in XPath
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Wed, 11 Oct 2006 16:03:50 +0300
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

Current Thread