Setting or resetting a loop element for an imported XML structure - Cloud

Talend Cloud API Services Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Design and Development
EnrichPlatform
Talend Management Console
Talend Studio

About this task

You need to set at least one loop element for each XML tree if it does not have any. If it does, you may have to reset the existing loop element when needs be.

Whatever you need to set or reset a loop element, proceed as follows:

Procedure

  1. In the created XML tree structure, right-click the element you need to define as loop. For example, you need to define the Customer element as loop in the following figure.
  2. From the pop-up contextual menu, select As loop element to define the selected element as loop.
    Once done, this selected element is marked with the text: loop.

Results

Note:

If you close the Map Editor without having set the required loop element for a given XML tree, its root element will be set automatically as loop element.