C++ XML parser library with improved memory efficiency
Improved tinyxml (in memory efficiency and size)
$ // #include <tinyxml2.h>
// tinyxml2::XMLDocument doc;
// doc.LoadFile("file.xml");$ // tinyxml2::XMLElement* root = doc.RootElement();
// const char* value = root->Attribute("key");$ // tinyxml2::XMLDocument doc;
// tinyxml2::XMLElement* root = doc.NewElement("root");
// doc.InsertFirstChild(root);
// doc.SaveFile("output.xml");$ // Link against libtinyxml2.a or libtinyxml2.so
// Compile with: g++ -o app app.cpp -ltinyxml2$ // for (tinyxml2::XMLElement* child = root->FirstChildElement(); child; child = child->NextSiblingElement()) { ... }