#include <DbXml.hpp> std::string &XmlDocument::getContent(std::string &content) const XmlData XmlDocument::getContent() const
Returns a reference to the document content. The returned value is
owned by the XmlDocument
, and is destroyed
when the document is destroyed.
There are two forms to this method. The first copies the content of the document into a string and as a convenience returns a reference to the string.
The second form of this method returns a reference to the content as an XmlData object.