xml.StaxReader.hasNext

Checks whether the StaxReader cursor can be moved to a XML node next to it.

Syntax

hasNext()
  RETURNING flag INTEGER

Usage

Returns TRUE if there is still an XML node in the stream, FALSE otherwise.

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