xml.StaxReader.getText

Returns as a string the value of the current XML node, or NULL.

Syntax

getText()
  RETURNING value STRING

Usage

This method is only valid on CHARACTERS, CDATA, SPACE, COMMENT, DTD and ENTITY_REFERENCE nodes. For an ENTITY_REFERENCE, this method returns the replacement value, or NULL if none.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.