Does anyone familiar with libxml++ know if it's possible to load the XML document from a string instead of a file? Alternately, if it can load a document directly from a web page, that would do.
Thanks
Does anyone familiar with libxml++ know if it's possible to load the XML document from a string instead of a file? Alternately, if it can load a document directly from a web page, that would do.
Thanks
It sounds like you are looking for either xmlpp::Parser::parse_memory or xmlpp::DomParser::parse_memory.
Each of those classes also have a parse_stream
method which take a std::istream
if that is more convenient.