Skip to main content Skip to complementary content

Aggregating the output data

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.

Procedure

  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.
    Example of the aggregate and root elements.
  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.

Results

Information noteNote:

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.

Information noteNote: 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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!