[jdom-interest] XPATH
adam flinton
aflinton at armature.com
Tue Jan 22 04:20:14 PST 2002
Dear All,
I have been looking to use XPath within JDOM to stop code bloat (i.e.
instead of calling getchild repeatedly). I have noted the werken, Jaxen &
SaxPath code.
A) werken seems to be deprecated in favour of the other 2.
B) I note from the JDOM home page that 1.1 is oging to be doing XPath.
What do people here recomend (a) between the 2 existing non-deprecated code
bases & (b) relative to "native JDOM" stuff if one was looking to put some
XPATH stuff into a piece of code which at the moment uses JDOM exclusively
for XML manipulation/interaction.
Wait? Go with Jaxen?
It isn't a killer but it's tedious to know exactly where in the tree I want
to be & thus to have to call getRoot followed by many getChild statements
(or one long one).
--
Adam Flinton
Armature Ltd.
Mobile: 0780 3180830
EMail: aflinton at armature.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020122/f14160e6/attachment.htm
More information about the jdom-interest
mailing list