I
Ibai Peña
Hi,
I have read in the help files that the XmlElement, and the XmlNode classes
have the SelectNodes methods.
But when I try to use it from my app, gives me an error saying that
'System.Xml.XmlElement' does not contain a definition for 'SelectNodes'.
Am I forgetting something, or doing something wrong? Here is the code
XmlDocument MyDoc = new XmlDocument();
MyDoc.Load(FileName);
XmlNodeList nodeList;
XmlElement root = MyDoc.DocumentElement;
nodeList = root.SelectNodes(/bookstore/book/@bk:ISBN);
Any help will be apreciated
I have read in the help files that the XmlElement, and the XmlNode classes
have the SelectNodes methods.
But when I try to use it from my app, gives me an error saying that
'System.Xml.XmlElement' does not contain a definition for 'SelectNodes'.
Am I forgetting something, or doing something wrong? Here is the code
XmlDocument MyDoc = new XmlDocument();
MyDoc.Load(FileName);
XmlNodeList nodeList;
XmlElement root = MyDoc.DocumentElement;
nodeList = root.SelectNodes(/bookstore/book/@bk:ISBN);
Any help will be apreciated