Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I was reading some example code for TinyXML
However none of them seem to open up an XML file and add elements to it and then save it. Is this a limitation to TinyXML. If not can someone give sample code I assume it can be done something like
//add some elements
TiXmlElement inherits from TiXmlNode (see this inheritence diagram)) which exposes several Insert* related methods. Attributes can be set/changed via the SetAttribute methods on TiXmlElement.