XmlEventReader::isEmptyElement

#include <DbXml.hpp>

virtual bool XmlEventReader::isEmptyElement() const

Return true if the current event is StartElement and the element has not content. If the current even is not StartElement, an exception will be thrown.

Errors

The XmlEventReader::isEmptyElement 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