DOM is
actually a pretty inadequate API for the things XPath needs, for example it's
very difficult to sort nodes into document order.
You
could look at Jaxen.
Saxon
also allows you to interface external data stores via an internal API (rather
higher level than DOM), but it's probably not as clear an interface as
Jaxen.
Michael Kay Software AG home:
Michael.H.Kay@ntlworld.com work: Michael.Kay@softwareag.com
Hi all,
I want to know if someone knows an
Xpath engine built over a standard (more or less) DOM API.
What I want is a storage-neutral
Xpath implementation relying only on a DOM document object
and DOM methods to process the
query.
If so then just providing a DOM API
for some kind of XML storage solution I'll be able to use Xpath.
Thanks a lot in
advance.
Garland.
--- Outgoing mail is
certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351
/ Virus Database: 197 - Release Date:
4/20/02
|