example XML:
<users>
<user id="fakeuserid">
<password>fakeuserpassword</password>
<username>fakeusername</username>
</user>
<user id="anotherfakeuserid">
<password>anotherfakeuserpassword</password>
<username>anotherfakeusername</username>
</user>
</users>
I would like to be able to access the id attribute and username value of each user. How could I do that? At the moment I am trying it with: /*/user and //user to no avail
Thanks in advance, Toy