XmlDocument::getContent |
#include <DbXml.hpp>const Dbt * XmlDocument::getContent() const; std::string &getContentAsString(std::string &content) const;
The XmlDocument::getContent method returns a pointer to the document content. The returned value is owned by the XmlDocument, and is destroyed when the document is destroyed.
Returns a pointer to the XmlDocument content as raw bytes.
The getContentAsString() method copies the content of the document into a string , and as a convenience returns a reference to the string . The getContent() method can be used to avoid the copy.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.