description | title | ms.date | ms.assetid |
---|---|---|---|
Learn more about: Editing XML Data using XPathNavigator |
Editing XML Data using XPathNavigator |
03/30/2017 |
b1f91616-3115-4264-9821-c66589d11d11 |
The xref:System.Xml.XPath.XPathNavigator class provides methods to insert, modify and remove nodes and values from an XML document contained in an xref:System.Xml.XmlDocument object. In order to use any of these methods to insert, modify, and remove nodes and values, the xref:System.Xml.XPath.XPathNavigator object must be editable, that is, its xref:System.Xml.XPath.XPathNavigator.CanEdit%2A property must be true.
Insert XML Data using XPathNavigator
Describes how to insert sibling, child, attribute nodes and values in to an xref:System.Xml.XmlDocument object using the xref:System.Xml.XPath.XPathNavigator class.
Modify XML Data using XPathNavigator
Describes how to modify nodes and values in an xref:System.Xml.XmlDocument object using the xref:System.Xml.XPath.XPathNavigator class.
Remove XML Data using XPathNavigator
Describes how to remove nodes and values from an xref:System.Xml.XmlDocument object using the xref:System.Xml.XPath.XPathNavigator class.
- xref:System.Xml.XmlDocument
- xref:System.Xml.XPath.XPathDocument
- xref:System.Xml.XPath.XPathNavigator
- 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