xml.StaxReader.nextSibling

Moves the StaxReader cursor to the immediate next sibling XML Element of the current node, skipping all its child nodes.

Syntax

nextSibling()

Usage

Use this method to move the StaxReader cursor to the next sibling of the current XML Element node in the stream, skipping all its child nodes. The cursor points to the parent end tag if there are no siblings.

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