diveref/

Occurrence

optional, multiple

Attributes

ref=identifier of the dive to be cross-referenced

Description

Via <diveref ref="id_of_dive_to_be_cross-referenced"/> a cross-referencing to all data stored in the specified dive is made. By this it is possible to have access to all data of all dives made during a dive trip, for example. Another usage is to take into account the tissue saturation by past dives when generating dive tables.

Parent Elements

<inputprofile>, <relateddives>

Child Elements

See Also

<dive>, <inputprofile>, <relateddives>, <repetitiongroupref/>, <trip>

Examples

(see also <relateddives>)

<uddf version="2.2.0">
    <generator>
        <!-- description of the software generating the UDDF file -->
    </generator>
    <!-- here more UDDF sections -->
    <profiledata>
        <repetitiongroup>
            <dive id="tg_321">
                <!-- here all data concerning dive No. 321 -->
            </dive>
            <dive id="tg_322">
                <!-- here all data concerning dive No. 322 -->
            </dive>
            <dive id="tg_323">
                <!-- here all data concerning dive No. 323 -->
            </dive>
            <!-- here can stand more dives -->
        </repetitiongroup>
        <!-- here can stand more </repetitiongroup> sections with more dives stored -->
    </profiledata>
    <divetrip>
        <trip>
            <!-- other data concerning this dive trip... -->
            <!-- dives made during this dive trip: -->
            <diveref ref="dive_321"/>
            <diveref ref="dive_322"/>
            <diveref ref="dive_323"/>
        </trip>
        <!-- here can stand more dive trips -->
    </divetrip>
</uddf>