Editing XML Data using XPathNavigator
The XPathNavigator class provides methods to insert, modify and remove nodes and values from an XML document contained in an XmlDocument object. In order to use any of these methods to insert, modify, and remove nodes and values, the XPathNavigator object must be editable, that is, its CanEdit property must be true.
In This Section
Insert XML Data using XPathNavigator
Describes how to insert sibling, child, attribute nodes and values in to an XmlDocument object using the XPathNavigator class.
Modify XML Data using XPathNavigator
Describes how to modify nodes and values in an XmlDocument object using the XPathNavigator class.
Remove XML Data using XPathNavigator
Describes how to remove nodes and values from an XmlDocument object using the XPathNavigator class.