Small XML Document wrapper class. More...
#include <ored/utilities/xmlutils.hpp>
Public Member Functions | |
XMLDocument () | |
create an empty doc. | |
XMLDocument (const string &filename) | |
load an xml doc from the given file | |
~XMLDocument () | |
destructor | |
void | fromXMLString (const string &xmlString) |
load a document from a hard-coded string | |
void | toFile (const string &filename) |
save the XML Document to the given file. | |
std::string | toString () |
return the XML Document as a string. | |
XMLNode * | getFirstNode (const string &name) |
void | appendNode (XMLNode *) |
XMLNode * | allocNode (const string &nodeName) |
util functions that wrap rapidxml | |
XMLNode * | allocNode (const string &nodeName, const string &nodeValue) |
char * | allocString (const string &str) |
rapidxml::xml_document< char > * | doc () |
Small XML Document wrapper class.