Sample XML and CSV files

This section contains sample XML mapping definition and sample CSV files for Time Code Reader Group.

Sample XML mapping definition

<table-config>
    <table name="TIME_CODE_RDR_GRP" transaction-type="INSERT_UPDATE" key-fields="TCODE_ID,RDRGRP_ID" primary-key="TCODERDRGRP_ID">
        <fields>
            <field index="1" db-field="TCODE_ID">
                  <reference table-name="TIME_CODE" supplied-value="TCODE_NAME" resolve-to-field="TCODE_ID"/>
            </field>
            <field index="2" db-field="RDRGRP_ID">
                  <reference table-name="READER_GROUP" supplied-value="RDRGRP_NAME" resolve-to-field="RDRGRP_ID"/>
            </field>
        </fields>
    </table>
</table-config>

Sample CSV file

VAC,WB8000_GROUP1
VAC-U,WB8000_GROUP2
SICK,WB8000_GROUP3