I want to be able to go trough the each of the nodes in XML and when I find a certain username I want to read all the data from that node.
For example:
<Users>
<User>
<Username>admin</Username>
<Server>10.x.x.x</Server>
</User>
<User>
<Username>test</Username>
<Server>11.x.x.x</Server>
</User>
</Users>
I need to be able to find Username=admin and then get the Server from the same node. I will be using a PHP and you can make example with saving in any two variables.