in reply to Re^2: print specific XML node number
in thread print specific XML node number
Solved!
in case someone needs to use this approach in future
I solved this by using 2 for loops. one will get the text value from the element of interest and the other loop will match the node by using the following xpath
findnodes("//id/phone[Number=$node]")
this will get the node itself containing the text of interest. As $node contains the txt from my previous xpath
|
|---|