2018.2

Table Of Contents
moveToNext()
Moves the position of the pointer in the source data file to the next line, row or node. The
behavior and arguments are different for each emulation type: text, PDF, tabular (CSV), or XML.
This is a method of the steps object (see "steps" on page354).
moveToNext(scope)
Moves the current position in a text file or XML file to the next instance of scope. What scope
represents depends on the emulation type: text or XML.
Text
scope
Number that may be set to:
l 0 or steps.MOVELINES: the current position is set to the next line.
l 1 or steps.MOVEDELIMITERS: the current position is set to the next delimiter (as
defined in the Input Data settings).
l 2 (next line with content): the current position is set to the next line that contains any text.
Example
The following line of code moves the current position to the next line that contains any text.
steps.moveToNext(2);
XML
scope
Number that may be set to:
l 0 or steps.MOVENODE: the current position is set to the next parent node in the XML
hierarchy.
l 1 or steps.MOVESIBLING: the current position is set to the next sibling node in the
XML hierarchy.
Page 358