A mapping table consists of a top level <mapping-table> that contains a set of <col-def> elements and a set of <row> elements. A <col-def> defines the name of each column and the type that it contains. A <row> consists of a set of <col> elements. DirXML Script uses <token-map> to map a value using a specified key column to a different value or values in a specified value column. A given key column map to multiple rows and therefore multiple values from the value column can be specified.
<mapping-table> <col-def name="dept" type="nocase"/> <col-def name="code" type="nocase"/> <col-def name="location" type="nocase"/> <row> <col>Engineering</col> <col>00001</col> <col>New York</col> </row> <row> <col>Sales</col> <col>00002</col> <col>London</col> </row> <row> <col>Accounting</col> <col>00003</col> <col>Paris</col> </row> <row> <col>Marketing</col> <col>00004</col> <col>Rome</col> </row></mapping-table>
None
( col-def * , row * )
None