xml.StaxReader.hasNext

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

Syntax

hasNext()
  RETURNS INTEGER

Usage

Use this method to check if there is still a XML node in the stream. It returns TRUE if there is, FALSE otherwise.

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).