Do Selectnodes w/ multiple attributes?

webmasterbeta

New Member
Gurus:
I have a selectnode statement which selects on one attribute-pswd, I would like to know the format (if it is even possible) for two attributes resolved in my expression:
CURRENT CODE
Dim xmlPasslist As XmlNodeList = xd.SelectNodes("/profile/user[@name='mcrpds']/@pswd")

WISH CODE
Selectnodes with @name='mcrpds' and @pswd='apple' and return attribute level.

XML
<profile>
<user name="Peter Trow" pswd="apple" level="DD825">

Thanks for any ideas!!
 
Back
Top