Introduction
I found use the .net framework to manage the xml is very dificult. but the .net framework is had a lot of functions. This XmlControl's function is less, but I think that's enough to manage the xml files in commonly.
If you want to use this control to manage an exit xml file, you can use folow example to use.
<BR>XmlControl fileCon=new XmlControl("filePath");
If you want to create an new xml file, you can use this
XmlControl fileCon=new XmlControl();
You must set the XmlControl's RootNode like this
fileCon.RootNode.Name="example";
You can't to save the file that you can't set the RootNode's name.
You can use the XmlControl.Elements.Add() method to add an xml node, like this
<BR>XmlElement elem=new XmlElement(); <BR>elem.Name="example"; <BR>elem.Value="example"; <BR>fileCon.Elements.Add(example);
If you can't understand, you can use the Email to connect me. Because my english is poor so ...... ^_^