classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-xml] XPath engine update


From: Chris Burdess
Subject: [Classpathx-xml] XPath engine update
Date: Tue, 19 Oct 2004 18:06:29 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've managed to work around the problem with the lookahead in the XPath parser (by hacking at the lexer level), so it should work OK now.

Current status:
- - type and function extensions are not currently supported, I'll look into this soon
- - XPath namespace nodes are not yet supported
- - everything else should implement the complete XPath 1.0 spec (2.0 is not supported)

How does it work?

Parse a document. The DOMImplementation for the document will tell you it supports the XPath 1.0 feature, so you can cast it to an XPathEvaluator.

Use the XPathEvaluator interface to execute an XPath query against the document. You can also compile an XPathExpression and reuse it (the expression is parsed and compiled only once).

Please hack away at it and raise any bugs either through Savannah or by mailing me directly (patches welcome!) - -- Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBdUmV6dl1DEqHgrgRAhJXAKCNtZ56oZDAAzigKV85vts+PGkHTQCgpwjN
y2oHMEgXY3EdM3t1MTTJq5w=
=MDeF
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]