Hi Guys,
I'm wanting to have the option in my app to save configuration settings and then be able to import them on another machine or when the application is launched later. So I've got my saving routine working fine, using the XmlWriter class to write various settings to the XML file. I'm not quite sure what I should be using to do the parsing of the XML file to read the settings back in though, as there seems to be a few different ways to do this.
Should I be creating an XmlDocument instance from the XML file and then using the ReadNode method or one of the other similar methods? Or should I be using the XmlReader class and one of its methods?
If it makes any difference, this is the format of my XML file:
CheersCode:<?xml version="1.0" encoding="utf-8" ?>
<!-- MY_APP_NAME Saved Settings - Version 0.9.5.0 -->
<SearchSettings>
<Setting1>Some string here</Setting1>
<Setting2 />
<Setting3>true</Setting3>
<Setting4 />
<Setting5 />
<Setting6>false</Setting6>
</SearchSettings>
Chris

