Editing the XML tree schema - 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-04-15

In addition to the Schema editor and the Expression editor views that tMap is also equipped with, a Tree schema editor view is provided in the map editor of tXMLMap for you to edit the XML tree schema of an input or output data flow.

To access this schema editor, click the Tree schema editor tab on the lower part of the map editor.

Tree schema editor.

The left half of this view is used to edit the tree schema of the input flow and the right half to edit the tree schema of the output flow.

Here is a description of the columns:
  • XPath: use this column to display the absolute paths pointing to each element or attribute in a XML tree and edit the name of the corresponding element or attribute.
  • Key: select this check box if the expression key data should be used to retrieve data through the Join link. If unchecked, the Join relation is disabled.
  • Type: describe the type of data, such as String, Integer, or Document.
    Note: The Type column should always be defined in a Java version.
  • Nullable: select this check box if the field value could be null.
  • Pattern: define the pattern for the Date data type.
Note: Input metadata and output metadata are independent from each other. You can, for instance, change the label of a column on the output side without changing the column label of the input schema.

However, any change made to the metadata are immediately reflected in the corresponding schema on the tXMLMap relevant (Input or Output) area, but also on the schema defined for the component itself on the design workspace.