XmlEventReader::getPrefix

#include <DbXml.hpp>

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

If the current event is StartElement or EndElement, return the namespace prefix for the element.

Errors

The XmlEventReader::getPrefix method may fail and throw XmlException , encapsulating one of the following non-zero errors:

EVENT_ERROR

An error occurred during processing of an XmlEventReader object. Most likely the error is requesting state that is not valid in the context of the current event.

Class

XmlEventReader

See Also

XmlEventReader Methods