I have an XML file that I read using XmlReader() when my application is started to get some values to use in setting variables. At runtime, the user has the option to change one or more of the variables, which I would like to save back to the XML file when the application closes. Looking at XmlWriter, I don't see any method that looks like it could update an element without rewriting the whole file. Is there a way using System.Xml to update just one or two elements in an XML file without rewriting the whole file?
