[jdom-interest] How to optimize xpath in jdom

Deepa Chandrashekaraiah (RBIN/EDM2) Deepa.Chandrashekaraiah at in.bosch.com
Thu Dec 7 03:37:07 PST 2006


I am using Xpath available in jdom. The xml file is of 9MB size. It is
taking a lot of time to query a simple xpath like:


I am trying to get the value of the "GrandChild" element in the
following way:

There are many "Child" elements in my huge xml file of 9MB size. Please
let me know to optimize the xpath expression or any other workarounds.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20061207/9e173e27/attachment.htm

More information about the jdom-interest mailing list