Aggregating the output data - 7.3

Talend Data Fabric Studio User Guide

English (United States)
Data Fabric
Talend Data Fabric
Talend Studio
Design and Development

About this task

With tXMLMap, you can define as many aggregate elements as required in the output XML tree to class the XML data accordingly. Then this component outputs these classes, each as one complete XML flow.


  1. To define an element as aggregate element, simply right-click this element of interest in the XML tree view on the output side of the Map editor and from the contextual menu, select As aggregate element.
    Then this element becomes the aggregate element. Texts in red are added to it, reading aggregate. The following figure presents an example.
  2. To revoke the definition of the aggregate element, simply right-click the defined aggregate element and from the contextual menu, select Remove aggregate element.



To define an element as aggregate element, ensure that this element has no child element and the All in one feature is being disabled. The As aggregate element option is not available in the contextual menu until both of the conditions are respected.

For an example about how to use the aggregate element with tXMLMap, see tXMLMap.

Note: tXMLMap provides group element and aggregate element to classify data in the XML tree structure. When handling one row of data ( one complete XML flow), the behavioral difference between them is:
  • The group element processes the data always within one single flow.

  • The aggregate element splits this flow into separate and complete XML flows.