Outputing elements into one document - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-13

About this task

Unless you are using the aggregate element which always classifies the output elements and splits an output XML flow, you are able to determine whether an XML flow is output as one single flow or as separate flows, using the All in one feature in the tXMLMap editor.

To do this, on the output side of the Map editor, proceed as follows:

Procedure

  1. Click the pincer icon to open the map setting panel. The following figure presents an example.
  2. Click the All in one field and from the drop-down list, select true or false to decide whether the output XML flow should be one single flow.
    • If you select true, the XML data is output all in one single flow. In this example, the single flow reads as follows:

      The structure of this flow reads:

    • If you select false, the XML data is output in separate flows, each loop being one flow, neither grouped nor aggregated. In this example, these flows read as follows:

      Each flow contains one complete XML structure. To take the first flow as example, its structure reads:

    Note: The All in one feature is disabled if you are using the aggregate element.