xml.StaxReader.getText

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

Syntax

getText()
  RETURNS STRING

Usage

Use this method to return a string containing text in the current XML node, or NULL if there is none.

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. See StaxReader Event Types.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).