I have been given an xml file that contains multiple records. Each record contains data that goes into "sub" tables. Example:
<Record>
<E01>
<E01_01>12345</E01_01>
<E02>
<E02_01>First</E02_01>
</E02>
<E02>
<E02_01>Second</E02_01>
</E02>
</E01>
<E01_01>12346</E01_01>
<E02>
etc, etc
When I imported the XML data it created the structure and imported the data. I have added a foreign key to the "sub" table E02, created the proper relationships between E01 and E02, deleted the data and re-imported (just the data) the XML data. It does not add the foreign key data in E02. How do I get it to place the value contained in E01_01 into the foreign key field in E02? I couldn't get the default value for the foreign key field to use the value in E01_01. Thanks for any help you can give.