Editing the XML tree schema

Talend Open Studio for ESB User Guide

EnrichVersion
6.4
EnrichProdName
Talend Open Studio for ESB
task
Design andĀ Development
EnrichPlatform
Talend Studio

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.

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.

The following table presents further information about this schema editor.

Metadata

Description

XPath

Use it 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 the corresponding 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

Type of data: String, Integer, Document, etc.

Note

This 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 the column label of the input schema being changed.

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.