The NEXT command reads the next streaming event.
Each event will return a status code to identify the type of event received.
When all events have been received a status code of NONEXT is returned to identify the end of the stream.
All events do not need to be read before closing the stream reader.
Element attribute names and values can be accessed by using a two-field working list argument. The working list is cleared, and attributes are added when an ELEMENTSTART event is received.
Possible status and message values
|
Syntax:
|
NEXT