Text within an element can be assigned to a Keyword Value if another specified element value within the target element matches a configured value.
For example, examine the following snippet of a sample XML Import Index File:
In this example, you can configure text to fill a Keyword Value with the ProductName value once you've identified the corresponding ItemPartNum value in the Items element.
For example, you can configure the text to fill the Product Name Keyword Value with a Product's ProductName by first identifying the correct ItemPartNum element by using its value (5564663). If the element or the value of the element are not correctly identified in the Field Tag, the text is not assigned to the Product Name Keyword Type.
The Field Tag for the above example would be:
/PurchaseOrderRun/PurchaseOrder/Items/ProductName[../ItemPartNum[text()="5564663"]]