#include <DbXml.hpp>
virtual void
XmlEventWriter::writeText(XmlEventReader::XmlEventType type,
const unsigned char *text, int length)
Write an text event to the
XmlEventWriter
. Valid text event types
include XmlEventReader::Characters,
XmlEventReader::Whitespace,
XmlEventReader::CDATA, and
XmlEventReader::Comment.
The type of the event — must be one of
XmlEventReader::Characters,
XmlEventReader::Whitespace,
XmlEventReader::CDATA, or
XmlEventReader::Comment.
The XmlEventWriter::writeText method may
fail and throw
XmlException
, encapsulating one of the following
non-zero errors:
An error occurred during processing of an XmlEventWriter object. Most likely the error is attempting to write a type or value that is not valid in the current state of the object.