optional, single (inside <tankdata>) / multiple (inside <equipmentused>)
Via <tankref ref="id_of_tank_to_be_cross-referenced"/> access to data stored under this identifier is possible. By means of this it is possible to exactly list the equipment configuration used during a specific dive, for example.
Inside <equipmentused> more than one <tankref/> statement is allowed to appear (of course, a dive can be made with more than one tank), but inside <tankdata> only one appearance is allowed.
<dive>, <equipmentused>
<uddf version="2.2.0"> <generator> <!-- information about the generating software --> </generator> <diver> <owner id="o1"> <!-- description of the owner of the UDDF file --> <equipment> <tank id="my_tank"> <!-- description of the fins used --> </tank> <!-- description of more equipment used by the owner of the UDDF file --> </equipment> </owner> <buddy id="b1"> <!-- description of a dive buddy --> </buddy> <!-- here can stand more <buddy> elements, if necessary --> </diver> <!-- here can stand more sections --> <profiledata> <repetitiongroup> <dive id="dive-1"> <!-- description of the first dive --> <!-- description of (cross-referencing on) equipment used --> <!-- tank: --> <tankref ref="my_tank"/> <!-- here cross-referencing on further equipment is possible --> </dive> <!-- here description of further dives --> </repetitiongroup> <!-- here can stand more <repetitiongroup> elements --> </profiledata> </uddf>