Explanation:
XML with one contact.
Thumb Rule:
The Complex or Simplex type must be repeated to be treated as a candidate for table.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CustomerData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomerID>EX-CI164308</CustomerID>
<CustomerFlag>N</CustomerFlag>
<OrganisationName>ACXIOM</OrganisationName>
<CustomerAbbreviatedName>ACXIOM</CustomerAbbreviatedName>
<CustomerStatus>A</CustomerStatus>
<AccountType>External</AccountType>
<CustomerCategory>Insight</CustomerCategory>
<CustomerClass>INSIGHT</CustomerClass>
<CustomerLanguage>GB</CustomerLanguage>
<CustomerUrl>http://www.acxiom.co.uk/about_us/Pages/AboutAcxiom</CustomerUr>
<CustomerProspectCode>CUSTOMER</CustomerProspectCode>
<ContactId>SF-0032000000gmMcIAAU</ContactId>
<FirstName>Gerry</FirstName>
<LastName>Groome</LastName>
<JobTitle>Marketing Co-ordinator</JobTitle>
<Email>gerry.groome@acxiom.com</Email>
When you parse the XML, the “CustomerData” table populates in the target table.
The “CustomerData” table consist simplex type field of customer and contact merged together.
After the “Contact” merges with “CustomerData”, the XML Target Connector cannot merge the “Contact” in other
synchronization
task.
If you want the contact as a table then you need to paste the contact section in the XML file before saving.
Explanation:
XML with two contacts.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CustomerData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomerID>EX-CI164308</CustomerID>
<CustomerFlag>N</CustomerFlag>
<OrganisationName>ACXIOM</OrganisationName>
<CustomerAbbreviatedName>ACXIOM</CustomerAbbreviatedName>
<CustomerStatus>A</CustomerStatus>
<AccountType>External</AccountType>
<CustomerCategory>Insight</CustomerCategory>
<CustomerClass>INSIGHT</CustomerClass>
<CustomerLanguage>GB</CustomerLanguage>
<CustomerUrl>http://www.acxiom.co.uk/about_us/Pages/AboutAcxiom</CustomerUr>
<CustomerProspectCode>CUSTOMER</CustomerProspectCode>
<ContactId>SF-0032000000gmMcIAAU</ContactId>
<FirstName>Gerry</FirstName>
<LastName>Groome</LastName>
<JobTitle>Marketing Co-ordinator</JobTitle>
<Email>gerry.groome@acxiom.com</Email>
<ContactId>SF-0032000000gmMcIAAU</ContactId>
<FirstName>Gerry</FirstName>
<LastName>Groome</LastName>
<JobTitle>Marketing Co-ordinator</JobTitle>
<Email>gerry.groome@acxiom.com</Email>
In this XML file, the Contact is repeated twice.
When you try to parse the XML using the XML Target Connector, the target table populates with CustomerData and Contact. You can merge contact with CustomerData.