#include <DbXml.hpp> XmlEventReader &XmlDocument::getContentAsEventReader() const
Returns an XmlEventReader object that can be used to obtain the document content as a series of events. When the caller is done with the event reader, the XmlEventReader::close method must be called to release its resources.
If the document comes from a container of type
XmlContainer::WholedocContainer
, it will be
parsed in order to provide the event stream. If the document was
obtained inside of a transaction, its events must be read while still
inside the transaction.