- no need for xerces anymore? All XML is now done by rapidxml by default (loading and saving)

This commit is contained in:
Mark Vejvoda
2012-03-15 05:59:23 +00:00
parent c421576a83
commit d1dd79047e
3 changed files with 82 additions and 44 deletions

View File

@@ -70,7 +70,7 @@ public:
class XmlIoRapid {
private:
static bool initialized;
rapidxml::xml_document<> *doc;
xml_document<> *doc;
private:
XmlIoRapid();
@@ -153,6 +153,7 @@ public:
XmlAttribute *addAttribute(const string &name, const string &value, std::map<string,string> mapTagReplacementValues);
XERCES_CPP_NAMESPACE::DOMElement *buildElement(XERCES_CPP_NAMESPACE::DOMDocument *document) const;
xml_node<>* buildElement(xml_document<> *document) const;
private:
string getTreeString() const;