ideaBubbling
XML Handler SandBox 1
SandBox1    SandBox2       SandBox3       SandBox4      
FileName:SandBox1.xml
XML Structure:<Students><Student><Name/><Age/></Student></Students>
Using this mechanism, Simply you can manage your xml file. The Add(), Insert(), Delete(), Update() methods only affects the DataSet, the Commit() method used to save the DataSet to XML file.
XMLHandler class constructor is used to create and save the  xml file if the pfileAutoGenerated parameter is true The Add() method always append the record to the end of the XML file.
Name: 3char
Age:100-200
Insert() method used to insert the record at any position(pIndex parameter)
Name: 5char
Age:200-300
The Delete() method will delete the record based on the index value (pIndex parameter ) The Update() method will update the fields value  based on the index value (pIndex parameter )
Name: 6char
Age:300-400
The SelectAsXml() method will return all the records as xml