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.
See Also
Reference
XmlDocument
XPathDocument
XPathNavigator
Concepts
Process XML Data Using the XPath Data Model
Reading XML Data using XPathDocument and XmlDocument
Selecting, Evaluating and Matching XML Data using XPathNavigator
Accessing XML Data using XPathNavigator
Schema Validation using XPathNavigator