Uploading an XML file - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
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

About this task

This procedure describes how to upload an XML file to obtain the XML tree structure.

The example input XML file used to demonstrate this step contains some contact information, and the structure is like the following:

<contactInfo>
  <contact>
    <id>1</id>
    <firstName>Michael</firstName>
    <lastName>Jackson</lastName>
    <company>Talend</company>
    <city>Paris</city>
    <phone>2323</phone>
  </contact>
  <contact>
    <id>2</id>
    <firstName>Elisa</firstName>
    <lastName>Black</lastName>
    <company>Talend</company>
    <city>Paris</city>
    <phone>4499</phone>
  </contact>
  ...
</contactInfo>

To upload an XML file, do the following:

Procedure

  1. Click Browse... and browse your directory to the XML file to be uploaded. Alternatively, enter the access path to the file.
    The Schema Viewer area displays a preview of the XML structure. You can expand and visualize every level of the file's XML tree structure.
  2. Enter the Encoding type in the corresponding field if the system does not detect it automatically.
  3. In the Limit field, enter the number of columns on which the XPath query is to be executed, or 0 if you want to run it against all of the columns.
  4. Click Next to define the schema parameters.