ImportXMLScanAllTags<N>
 
Type

Boolean

Default

false

Required

no

Description

If an ImportXMLSearchCSVTags<N> tag is contained multiple times in an XML file and contains different values, you can set ImportXMLScanAllTags<N> to true to store all the values in the corresponding ImportXMLField<N> as a comma-separated list of values.

Example

Example 1

<Garden>
      <Flower>Rose</Flower>
      <Flower>Daisy</Flower>
      <Flower>Buttercup</Flower>
</Garden>


If an XML file contains the above, and you have made the following settings, all instances of the Flower tag are extracted and imported as a semicolon-separated list of values into the MyFlowers field (that is, the MyFlowers field would have the value Rose;Daisy;Buttercup).


ImportXMLSearchCSVTags0=Flower
ImportXMLField0=MyFlowers
ImportXMLScanAllTags0=true
ImportXMLScanAllDelimiter0=;


Example 2

An XML file contains the following tags:

<Property FormalName="Keyword" Value="VARIA" />
<Property FormalName="Keyword" Value="VERKEER" />
<Property FormalName="Keyword" Value="MEDIA" />

You have set:

ImportXMLField0=DREKEYWORD
ImportXMLSearchCSVTags0=Property
ImportXMLEntryOnly0=true
ImportXMLAttribute0=Value
ImportXMLScanAllTags0=true

In this example, the Import Module navigates to the Property tag and imports the Value attribute as a comma-separated list of values into the DREKEYWORD field, so that this field is imported with the value Varia,Verkeer,Gerecht.

If an XML file contains the tags:

<Property FormalName="ContentType" Value="Original" />
<Property FormalName="Language" Value="nl" />
<Property FormalName="Desk" Value="BIN" />

You can only import the data into two fields by setting:

ImportXMLField0=DREVALUE
ImportXMLSearchCSVTags0=Property
ImportXMLEntryOnly0=true
ImportXMLAttribute0=Value
ImportXMLScanAllTags0=true
ImportXMLField1=DREFormalName
ImportXMLSearchCSVTags1=Property
ImportXMLEntryOnly1=true
ImportXMLAttribute1=FormalName
ImportXMLScanAllTags1=true

In this example, the Import Module navigates to the Property tag, imports the Value attribute as a comma-separated list of values into the DREVALUE field, and the FormalName attribute into the DREFormalName field. The DREVALUE field is imported with the value Original,nl,BIN. The DREFormalName field is imported with the value ContentType,Language,Desk.

See also

ImportXMLField<N>

ImportXMLScanAllDelimiter<N>

ImportXMLSearchCSVTags<N>