My plan is to read in an XML document using my C# program, search for particular entries which I\'d like to change, and then write out the modified document. However, I\'ve bec
One fairly easy approach would be to create a new XmlDocument
, then use the Load()
method to populate it. Once you've got the document, you can use CreateNavigator()
to get an XPathNavigator
object that you can use to find and alter elements in the document. Finally, you can use the Save()
method on the XmlDocument
to write the changed document back out.