[jdom-interest] find position in document by the attribute
Robert Koberg
rob at koberg.com
Fri Apr 27 16:46:42 PDT 2001
Is there some way to do this XPath expression with java (not XPath, if XPath
then I would want to use 'keys') so it will return me an object that I can
add a child to:
//*[@id=$id]
which basically means:
out of all the elements (//*), not just immediate children, give me an
element that has an 'id' attribute (@ denotes an attribute) that matches the
value of the variable ($ denotes a variable) '$id'
Thanks,
Rob
More information about the jdom-interest
mailing list