[jdom-interest] XPATH engine

Michael Kay mike at saxonica.com
Wed Nov 9 14:02:56 PST 2005

Saxon's XPath implementation works on JDOM trees. It's not an identical API,
Michael Kay


From: jdom-interest-bounces at jdom.org [mailto:jdom-interest-bounces at jdom.org]
On Behalf Of Kevin L Cobb
Sent: 09 November 2005 18:13
To: jdom-interest at jdom.org
Subject: [jdom-interest] XPATH engine

I am trying to tune some processing that uses JDOM to apply about 1000 XPATH
expressions to a batch of XML files. I am using Xerces as my SAX parser
implementation and thought about replacing this with something more speedy.
But, the bulk of the work is really in applying these XPATH expressions, not
in actually parsing the XML. I am caching the expressions as XPath objects
and also only parsing the source XML into a Document object once. 
I'm wondering if JDOM allows me to replace the XPATH implementation with
other implementations - I think that the default is JAXEN. Are there
speedier XPATH implementations available?
Any advice on increasing the speed here would be well received. Thanks in

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20051109/3a574154/attachment.htm

More information about the jdom-interest mailing list