3. Content Rule
( col-def * , row * )
A <mapping-table> A DirXML mapping table consists of a top level <mapping-table> that contains a set of <col-def>'s and a set of <row>'s. A <col-def> defines the name of each column and the type that it contains. A <row> consists of a set of <col>'s. 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 map to multiple rows and therefore multiple values from the value column may 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>
- col-def
- column definition
- row
- mapping table row
None
Top Elements || All Elements || Tree