I'm using an xml doc to hold configuration information for my program. Basically what I want to do is navigate through an xml file and change a single value. I found XPath to be much easier to use than XMLReader. So I was wondering if I could use it instead of XMLwriter as well. I am using .Net 2.0 right now so unfortunately LINQ isn't an option.
Well I tried the below code, but ran into an NotSupportedException:
myString = nav.SelectSingleNode(xpath).SetValue("My Value")
Well I tried the below code, but ran into an NotSupportedException:
myString = nav.SelectSingleNode(xpath).SetValue("My Value")