Document A B C /B /A E F C /c /F G C /C /G /E /Document
If i load the above XML into an XmlDocument and do a SelectSingleNode on A using the XPath query //C
XmlNode oNode = oDocument.SelectSingleNode("E"); XmlNodeList oNodeList = oNode.SelectNodes("//C");
why does it return nodes from Under B when what I would expect to happen would that it only return nodes from under E
Make sense? Sorry, can't see how to enter proper XML tags.
Edit : How would i make it only return from that node onwards?