XmlEventReader::getValue

API Ref

#include <DbXml.hpp>

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


Description: XmlEventReader::getValue

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.

APIRef

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