XmlEventReader::nextTag

#include <DbXml.hpp>

virtual enum XmlEventType XmlEventReader::nextTag()

Move to the next StartElement or EndElement in the XmlEventReader object, skipping the events in between, returning the type of the event. If the current event is StartElement and the element is empty ( XmlEventReader::isEmptyElement returns true) the corresponding EndElement event is skipped.

Errors

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