XmlEventReader::getAttributeCount

#include <DbXml.hpp>

virtual int XmlEventReader::getAttributeCount() const

If the current event is StartElement, return the number of attributes available.

Errors

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