BrianMc1958
asked on
Can JDOM and/or XPath find an element without starting from root?
Dear Experts,
When using JDOM and/or XPath, is it always necessary to specify the path from the root? Can I just say "Go get the <bob>...</bob> element--no matter where it is? Instead of "Go get 'MyRoot/ThisNode/ThatNode/ bob'".
I know that's a little funky, but I have good funky reasons for wanting to do it.
Thanks!
BrianMc1958
When using JDOM and/or XPath, is it always necessary to specify the path from the root? Can I just say "Go get the <bob>...</bob> element--no matter where it is? Instead of "Go get 'MyRoot/ThisNode/ThatNode/
I know that's a little funky, but I have good funky reasons for wanting to do it.
Thanks!
BrianMc1958
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
welcome
ASKER
Thanks a lot!