I'm trying to parse a string containing an XML doc in my C++ program. I know I can do this with C using libxml2 but I would like a C++ solution using libxml++ (which is built on top of libxml2).
Currently, I can parse from a file like so:
DomParser *parser = new DomParser;
parser->parse_file("sample.xml");