<xml ...> <tag1 id=""> <tag2> <tag3> <tag4/> <tag3/> <tag5/> </tag1>
Creating a CL_XML_OBJ:
CL_XML_OBJ * XMLTest = new CL_XML_OBJ("tagTest");
//XML tree //<tagRoot> // <tagTest/> //<tagRoot/> //XMLRoot is a TiXmlElement * from the library TinyXML and point to the tag <tagRoot> TiXmlElement *XML_Test_Tag = XMLTest->XMLLoad(XMLRoot);//return to the XML element of the object tag, so we can used it to read/write data
Saving a CL_XML_OBJ:
//XML tree before //<tagRoot/> //XMLRoot is a TiXmlElement * from the library TinyXML and point to the tag <tagRoot> TiXmlElement *XML_Test_Tag = XMLTest->XMLSave(XMLRoot);//return to the XML element of the object tag, so we can used it to read/write data //XML tree after saving //<tagRoot> // <tagTest/> //<tagRoot/>
The class CL_XML_OBJ has four important definitions???