#include <DbXml.hpp> virtual void XmlEventWriter::writeStartDocument(const unsigned char *version, const unsigned char *encoding, const unsigned char *standalone)
Write a StartDocument element event to the XmlEventWriter . This must be the first event written.
The encoding for the document, or NULL. Content must be written as UTF-8; however, the encoding may be used on output, if possible.
The XmlEventWriter::writeStartDocument
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.