Troy 0

Hey there,

I have a list of users in an xml file like this


I search through it until I find the username I want, which works fine, then I want to drop down to the next sibling (the password) with the nextSibling property but I have no idea how to do this, currently I am getting the username like this


1 answer

danwellman 5600

you should just be able to do something like ../next-sibling[1]

Answered almost 7 years ago by danwellman