Field tags are used to identify information. XML tags are set up in a hierarchical tree order. The following file is an example of an XML Import Index File used in XML Index DIP:
The tags highlighted in yellow will be used to identify the company name to map it to the Company Name Keyword Type. To identify this data for Keyword Type mapping, the field tag that would be entered in the Field Configuration dialog box in the form of an Absolute Xpath would be:
/PurchaseOrderRun/PurchaseOrder/ShipTo/Name
Notice that each entry in the field tag coincides with the highlighted tags.
The <PurchaseOrderRun> tag is the topmost tier of the hierarchy.
The <PurchaseOrder> tag follows. Within the <PurchaseOrder> tag, there are three data content tags:
-
<Vendor>
-
<ShipTo>
-
<Items>
<ShipTo> is the next tag that needs to be identified to find the company's name. Within the <ShipTo> tag there are five data content tags:
-
<Name>
-
<Street>
-
<City>
-
<State>
-
<ZIP>
The <Name> tag is the tag needed to identify the name of the company. All tags leading the desired data must be specified. The following example shows properly configured Keyword Type mapping for the previous sample XML Import Index File. The highlighted record shows the previous Absolute Xpath example.