XmlEventReader::getEncoding

#include <DbXml.hpp>

virtual const unsigned char * XmlEventReader::getEncoding() const

Returns the encoding for the document, if available.

If the event type is not StartDocument, XmlException::EVENT_ERROR is thrown.

Class

XmlEventReader

See Also

XmlEventReader Methods