repetitiongroupref/

Occurrence

optional, multiple

Attributes

ref=identifier of the repetitiongroup to be cross-referenced

Description

Via <repetitiongroupref ref="id_of_repetitiongroup_to_be_cross-referenced"/> access to the complete dive data stored under this identifier is possible. By means of this it is possible to simply make cross-references to all dives made during a holidy, or to have access to the complete saturation history when calculating tables e.g.

Using <repetitiongroupref/> inside <dive> it is not allowed make a cross-reference to that repetition group the calling dive is stored in.

Parent Elements

<dive>, <inputprofile>, <relateddives>

Child Elements

See Also

<dive>, <inputprofile>, <relateddives>

Examples

(see also <dive>, and <relateddives> e.g.)

<uddf version="2.2.0">
    <generator>
        <!-- information about the generating software -->
    </generator>
    <!-- here stand more sections -->
    <profiledata>
        <repetitiongroup id="rg1">
            <dive id="dive-1">
                <!-- description of the first dive -->
            </dive>
            <dive id="dive-2">
                <!-- description of the second dive -->
            </dive>
            <dive id="dive-3">
                <!-- description of the third dive -->
            </dive>
            <!-- here description of further dives -->
        </repetitiongroup>
        <!-- here can stand more <repetitiongroup> elements -->
    </profiledata>
    <tablegeneration>
        <calculateprofile>
            <profile>
                <repetitiongroupref ref="wg1"/>
                <!-- here more statements for the generation of this profile -->
            </profile>
        </calculateprofile>
    </tablegeneration>
</uddf>