- Contents
Interaction Designer Help
XML Get Next Node
This XML tool returns the node at the current iterator position and returns an iterator pointing to the next position in the list. As the iterator is just a variable, you can make copies at any time to save a certain position. By using the same variable as input and output iterator, you can easily iterate over the list by connecting the Success path back to this tool (after processing the node, of course).
The tool takes the ‘End’ exit when the iterator points to an empty list or the iteration is complete (list traversed to end).
Inputs
Node Iterator
Current position in the node list.
Outputs
Node Iterator Next
Iterator pointing to the next position in the list.
Node
Node at the current position. NULL if list is empty.
Exit Paths
Success
Successfully retrieved node at the current position.
End
Iteration complete.
Note: This path is taken if this tool is invoked again after the last item has been retrieved. The ‘Node’ output variable is set to a NULL node.
Failure
This path is taken if the operation fails.