Repeating Elements with the for-each Statement

The for-each statement allows you to loop through repeating elements.

To repeat elements with the for-each statement:
  1. Drag a source to a target to create a simple mapping.
  2. Click the target node to launch the Mapping Builder.
  3. Click Mapping Components.
    You can either find or browse for the function.
  4. Drag the for-each function onto the target tag statement.
    The for-each statement appears as a parent of the target tag. A new empty row is created with the text Drag and Drop or Type here...

    .
  5. Click Source.
  6. Drag a repeating source element onto the empty row.
    This uses the source element as the basis for the loop.
  7. Click Save.