tXMLMap operation - Cloud - 8.0

Talend Studio User Guide

Version
Cloud
8.0
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-29
Note: Before starting this section, we recommend reading the previous tMap sections for the basic knowledge of a Talend mapping component.

tXMLMap is fine-tuned to leverage the Document data type for processing XML data, a case of transformation that often mixes hierarchical data (XML) and flat data together. This Document type carries a complete user-specific XML flow. In using tXMLMap, you are able to add as many input or output flows as required into a visual map editor to perform, on these flows, the operations as follows:

  • data multiplexing and demultiplexing,

  • data transformation on any type of fields, particularly on the Document type,

  • data matching via different models, for example, the Unique match mode (related topic: Using Explicit Join),

  • Automated XML tree construction on both of the input and the output sides,

  • inner join and left outer join (related topic: Using Inner Join)

  • lookup between data sources whatever they are flat or XML data using models like Load once (related topic: Handling Lookups),

  • fields concatenation and interchange,

  • field filtering using constraints,

  • data rejecting.

Like tMap, a map editor is required to configure these operations. To open this map editor, you can double-click the tXMLMap icon in the design workspace, or alternatively, click the three-dot button next to the Map Editor in the Basic settings view of the tXMLMap component.

tXMLMap and tMap use the common approaches to accomplish most of these operations. Therefore, the following sections explain only the particular operations to which tXMLMap is dedicated for processing the hierarchical XML data.

The operations focusing on hierarchical data are:

  • using the Document type to create the XML tree;

  • managing the output XML data;

  • editing the XML tree schema.

The following sections present more relevant details.

Note: Different from tMap, tXMLMap does not provide the Store temp data option for storing temporary data onto the directory of your disk. For further information about this option of tMap, see Solving memory limitation issues in tMap use.