Configuring the process of extracting the XML fields of interest - 6.5

Standardization

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

About this task

To do this, proceed as follows

Procedure

  1. Double click tExtractXMLField to open its Component view.
  2. Next to Edit schema, click the three-dot button to open the schema editor.
  3. On the left side of this editor, select the SKU_Description_Size_Weight row.
  4. Click the button to add this row to the right side of the editor.
  5. On the right side of this editor, click the plus button on the bottom toolbar three times to add three rows.
  6. Rename the three rows as SKU, Size, Weight, all of which are tags of the normalized XML data.
  7. Click OK to validate this editing and accept the schema propagation prompted by the pop-up dialog box. Four rows are automatically filled in the Mapping table on the Component view.
  8. In the XML field field of the Component view, select the desired XML field of the incoming data. In this example, it is Normalized_field.
  9. In the Loop XPath Query field, type in the name of the XML Tree root tag to replace the default value. In this example, type in "/record".
  10. In the XPath query column of the Mapping table, type in the XML Tree tags corresponding to desired normalized data between quotation marks. In this example, they are "SKU", "Size", "Weight".