Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   XML (http://www.velocityreviews.com/forums/f32-xml.html)
-   -   Can I use Xerces for parsing XPath (http://www.velocityreviews.com/forums/t595899-can-i-use-xerces-for-parsing-xpath.html)

QQ 03-04-2008 07:57 AM

Can I use Xerces for parsing XPath
 
I know that Xalan library provides the XPath functionality. But there
are also some DOMXPathXXXX Classes in the Xerces library. Can I just
use them and get the XPath functionality?

Thanks,
Qizhen

Martin Honnen 03-04-2008 12:21 PM

Re: Can I use Xerces for parsing XPath
 
QQ wrote:
> I know that Xalan library provides the XPath functionality. But there
> are also some DOMXPathXXXX Classes in the Xerces library. Can I just
> use them and get the XPath functionality?


The current Xerces-Java 2 documentation
<URL:http://xerces.apache.org/xerces2-j/api.html> lists two XPath
packages, one being
<URL:http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/xpath/package-summary.html>,
the JAXP XPath API, the other being
<URL:http://xerces.apache.org/xerces2-j/javadocs/api/org/w3c/dom/xpath/package-summary.html>,
the W3C DOM Level 3 XPath API.
I don't know whether Xalan is used to implement the XPath packages.
The JAXP XPath API is part of the Java 1.5 SDK too.



--

Martin Honnen
http://JavaScript.FAQTs.com/


All times are GMT. The time now is 06:39 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57