I want to limit my search for a child node to be within the current node I am on. For example, I have the following code:
XmlNodeList myNodes = xmlDoc.Docum
A leading // always starts at the root of the document; use .// to start at the current node and search just its descendants:
//
.//
XmlNode lastnameNode = myNode.SelectSingleNode(".//LastName");