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.
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
Then this element becomes the aggregate element. Texts in red are added to it, reading aggregate. The following figure presents an example.
- 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 further information about the All in one feature, see Outputing elements into one document.
For an example about how to use the aggregate element with tXMLMap, see Classifying the output data with aggregate element.
The group element processes the data always within one single flow.
The aggregate element splits this flow into separate and complete XML flows.