XmlEventReader::getAttributeCount

API Ref

#include <DbXml.hpp>

virtual int XmlEventReader::getAttributeCount() const


Description: XmlEventReader::getAttributeCount

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.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.