Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.01 KB

editing-xml-data-using-xpathnavigator.md

File metadata and controls

31 lines (24 loc) · 2.01 KB
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

Editing XML Data using XPathNavigator

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.

In This Section

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.

See also