XmlDocument::getContentAsEventWriter

API Ref

#include <DbXml.hpp>

void XmlDocument::getContentAsEventWriter(XmlEventWriter &writer) const


Description: XmlDocument::getContentAsEventWriter

Causes the document's content to be written as events to the provided XmlEventWriter.

If the document comes from a container of type XmlContainer::WholedocContainer, it will be parsed in order to provide the event stream.

Parameters

writer
The event writer to which the content events are written. When the event writing is complete, the XmlEventWriter::close method is called. To create the writer, use one of XmlContainer::putDocumentAsEventWriter, or implement an application-defined class derived from XmlEventWriter.

APIRef

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