XmlDocument::getContentAsEventReader

API Ref

#include <DbXml.hpp>

XmlEventReader &XmlDocument::getContentAsEventReader() const


Description: XmlDocument::getContentAsEventReader

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.


APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.