Importing the XML tree

XML connectors

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Open Studio for ESB
Talend Data Fabric
Talend Big Data
Talend Open Studio for MDM
Talend ESB
Talend Big Data Platform
Talend Open Studio for Data Integration
Talend Real-Time Big Data Platform
Talend Data Integration
Talend MDM Platform
Talend Open Studio for Big Data
Talend Data Services Platform
Talend Data Management Platform
task
Data Governance > Third-party systems > XML components > XML connectors
Data Quality and Preparation > Third-party systems > XML components > XML connectors
Design and Development > Third-party systems > XML components > XML connectors
EnrichPlatform
Talend Studio
The easiest and most common way to fill out the XML tree panel, is to import a well-formed XML file.
  1. Rename the root tag that displays by default on the XML tree panel, by clicking on it once.
  2. Right-click on the root tag to display the contextual menu.
  3. On the menu, select Import XML tree.
  4. Browse to the file to import and click OK.
    • You can import an XML tree from files in XML, XSD and DTD formats.

    • When importing an XML tree structure from an XSD file, you can choose an element as the root of your XML tree.

    The XML Tree column is hence automatically filled out with the correct elements.
  5. If you need to add or remove an element or sub-elements, right-click the relevant element of the tree to display the contextual menu.
  6. Select Delete to remove the selection from the tree or select the relevant option among: Add sub-element, Add attribute, Add namespace to enrich the tree.