Procedure

XML connectors

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data Platform
Talend Big Data
Talend Data Integration
Talend Data Services Platform
Talend ESB
Talend Open Studio for ESB
Talend Data Fabric
Talend Open Studio for Data Integration
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
Talend MDM Platform
Talend Data Management Platform
Talend Open Studio for Big Data
task
Design and Development > Third-party systems > XML components > XML connectors
Data Quality and Preparation > Third-party systems > XML components > XML connectors
Data Governance > Third-party systems > XML components > XML connectors
EnrichPlatform
Talend Studio

Procedure

  1. Drop tFileInputXML and tLogRow from the Palette to the design workspace.
  2. Connect both components together using a Main Row link.
  3. Double-click tFileInputXML to open its Basic settings view and define the component properties.
  4. As the street dir file used as input file has been previously defined in the Metadata area, select Repository as Property type. This way, the properties are automatically leveraged and the rest of the properties fields are filled in (apart from Schema). For more information regarding the metadata creation wizards, see Talend Studio User Guide.
  5. Select the same way the relevant schema in the Repository metadata list. Edit schema if you want to make any change to the schema loaded.
  6. The Filename shows the structured file to be used as input
  7. In Loop XPath query, change if needed the node of the structure where the loop is based.
  8. On the Mapping table, fill the fields to be extracted and displayed in the output.
  9. If the file size is consequent, fill in a Limit of rows to be read.
  10. Enter the encoding if needed then double-click on tLogRow to define the separator character.
  11. Save your Job and press F6 to execute it.

Results

The fields defined in the input properties are extracted from the XML structure and displayed on the console.