VB .Net XmlElement selectNodes() XPath

vbcodeforger

New member
Joined
Jun 21, 2005
Messages
1
Programming Experience
3-5
Helo,

I tried to use the XmlElement 's selectNodes()
method.

This method accepts as a parameter the XPath string to select the proper node under that element

http://msdn.microsoft.com/library/d...lrfsystemxmlxmlnodeclassselectnodestopic2.asp

when i tried this with the path
"//*"

I get all the nodes as I expected

but when I used
"//Response"

which is one of the nodes return ealier
I get empty XmlNodeList

Why is it that the XPath is not working?

rgds.

ps : my code

Dim nodes As XmlNodeList
nodes = myxmlelement.SelectNodes("//Response")
 

Latest posts

Back
Top