Is it possible to use xpath with a Node or NodeList objects?
I have a problem which I need to solve.
I have an XML file which I partially parse at one step of my program(For example getting all the user accounts with xpath into a node list)
and then at a later phase of my program I need to get deeper into each user accound and check it's password, etc...(In addition it is problematic getting the username - for example - directly from the root node, because some of the intermediate tags are inserted by the user and they support wild card, for example jjj*fff is a match for the tag <jjjdsdsdfff> )
The thing is, I dont see how I can use xpath with this sub tree..The only thing I see is using xpath all over again with the full XML document or navigating with the DOM of each account which is very tiresome and not efficient..
What do you people think?
Is there a solution to this?