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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for