Via <compassref ref="id_of_compass_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.
<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> <compass id="my_compass"> <!-- description of the compass used --> </compass> <!-- 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 --> <!-- compass: --> <compassref ref="my_compass"/> <!-- here cross-referencing on further equipment is possible --> </dive> <!-- here description of further dives --> </repetitiongroup> <!-- here can stand more <repetitiongroup> elements --> </profiledata> </uddf>