I would like to know if there is a way to obtain the value of the origin node when doing a query.
I have an XPath query using selectSingleNode. I would like to be able to create a predicate where the test is against a value from the node being searched.
For example...
node.selectSingleNode("//node1/node2[anotherNode=origin()/originNode]/theReturningNode")
The origin() in this case is the node used in the selectSingleNode
Many Thanks