<Document>
<A>
<B>
<C></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?
Edit : How would i make it only return from that node onwards?