Via <tableref ref="id_of_table_to_be_cross-referenced"/> access to data stored under this identifier is possible. By means of this it is possible to have access to a previous generated table when calculating a "maximum bottom time" table.
If <calculatebottomtimetable> is given, <tableref/> must occur, too.
<uddf version="2.2.0">
<generator>
<!-- information about the generating software -->
</generator>
<!-- here can stand more sections -->
<tablegeneration>
<!-- calculate two tables (one for air, the other for Nitrox -->
<calculatetable>
<table id="table_air>
<!-- here statements for the calculation of the air table -->
</table>
<table id="table_nitrox">
<!-- here statements for the calculation of the Nitrox table -->
</table>
</calculatetable>
<!-- now generate maximum bottom time tables for the above calculated -->
<!-- air, and Nitrox table -->
<calculatebottomtimetable>
<table id="mbt_table-1">
<!-- description of the first MBT table to be generated -->
<!-- cross-reference to the previous calculated table -->
<tableref ref="table_air"/>
<!-- here more statements for the generation of the MBT table -->
</table>
<table id="mbt_table-2">
<!-- description of the second MBT table to be generated -->
<!-- cross-reference to the previous calculated table -->
<tableref ref="table_nitrox"/>
<!-- here more statements for the generation of the MBT table -->
</table>
<!-- here more tables can be generated -->
</calculatebottomtimetable>
</tablegeneration>
</uddf>