leadref/

Occurrence

optional, multiple

Attributes

ref=identifier of the lead to be cross-referenced

Description

Via <leadref ref="id_of_lead_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.

Parent Elements

<equipmentused>

Child Elements

See Also

<dive>, <equipmentused>

Examples

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