Basic XML Formats for Import

Previous Next

The basic XML formats for single and multi-table imports are as follows.

Single Table Imports

<ObjectNamePlural documentName="ObjectNamePlural">

    <TableName ColumnName1="xxx" ColumnName2="xxx" .../>

    <TableName ColumnName1="yyy" ColumnName2="yyy" .../>

</ObjectNamePlural>

 

Multi-Table Imports

<?usoft-xml version="1.0" action="multi-tables-import" use-io-formats="no" verify-original-values="no" return-corrected-records ="yes"?>

<MultiImport>

    <ObjectNamePlural1 documentName="ObjectNamePlural1">

        <TableName1 ColumnName1="xxx" ColumnName2="xxx" .../>

        <TableName1 ColumnName1="yyy" ColumnName2="yyy" .../>

    </ObjectNamePlural1>

    <ObjectNamePlural2 documentName="ObjectNamePlural2">

        <TableName2 ColumnName1="xxx" ColumnName2="xxx" .../>

        <TableName2 ColumnName1="yyy" ColumnName2="yyy" .../>

    </ObjectNamePlural2>

    ...

</MultiImport>

 

where ObjectNamePlural, TableName and ColumnName depend upon the document that is being imported.