Skip to main content Skip to complementary content

Uploading an XML file

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!