ImportXMLGlobalTag<N>
 
Type

Boolean

Default

false

Required

no

Description

If an XML document contains multiple records (such as a list of customer details), you can set ImportXMLGlobalTag<N> to true if you want to check the entire XML document for the specified ImportXMLSearchCSVTags<N> tag, rather than just the current record (the start and the end of the individual record items are specified by ImportXMLSingleItemEntryTag). The Import Module finds the first instance of the tag and imports it to the corresponding ImportXMLField<N> field.

Note: If you want to import all instances of the specified ImportXMLSearchCSVTags<N> tag from the XML file, you need to also set ImportXMLScanAllTags<N> to true.

Example

<Root>
<Topic>Botany</Topic>
<Garden>
      <Flower>Rose</Flower>
      <Flower>Daisy</Flower>
      <Flower>Buttercup</Flower>
</Garden> <Garden>
      <Flower>Tulip</Flower>
      <Flower>Daffodil</Flower>
</Garden> </Root>


If an XML file contains the above, and you have made the following settings, the Import Module creates an IDX or XML entry for each Garden item. Each entry includes a Category field with the value Botany.


ImportXMLSingleItemEntryTag=Garden
ImportXMLSearchCSVTags0=Topic ImportXMLField0=Category
ImportXMLGlobalTag0=true

See also

ImportXMLField<N>

ImportXMLSearchCSVTags<N>

ImportXMLSingleItemEntryTag