XmlEventReader::getValue

#include <DbXml.hpp>

virtual const unsigned char * 
XmlEventReader::getValue(int &len) const

If the current event is Characters, return the text value. If the current event is ProcessingInstruction, return the data portion of the processing instruction.

Parameters

len

The length of the value string returned, not including the null terminator.

Errors

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