static void setText(NodeType node, const std::string& text) { node->InsertEndChild(TiXmlText(text.c_str())); }
static NodeType addChild(NodeType node, const std::string& name) { return static_cast<NodeType>(node->InsertEndChild(TiXmlElement(name.c_str()))); }