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.
Log in to post a comment.