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

Standardization

Version
7.3
Language
English
Product
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 Real-Time Big Data Platform
Module
Talend Studio
Content
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
Last publication date
2024-02-21

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 [...] 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".