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:
Click Browse... and browse your
directory to the XML file to be uploaded. Alternatively, enter the access path to the
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.
- Enter the Encoding type in the corresponding field if the system does not detect it automatically.
- 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.
- Click Next to define the schema parameters.