equipmentused

Occurrence

optional, single

Attributes

Description

The equipment configuration used for a dive is completely specified inside <equipmentused>. Allowed are only these cross-referencing elements which parts have been listed inside the <equipment> section for the <owner>.

Because the amount of lead carried during the various dives often (or at least sometimes) changes, and on a dive safari normally lead from the dive base is used, for the sake of simplicity <leadquantity> is allowed here also (without "<lead> declaration detour").

Parent Elements

<informationafterdive>

Child Elements

<leadquantity>, <link/> (to be cross-referenced for every piece of equipment <boots>, <buoyancycontroldevice>, <camera>, <compass>, <divecomputer>, <equipmentconfiguration>, <fins>, <gloves>, <knife>, <lead>, <light>, <mask>, <rebreather>, <regulator>, <scooter>, <suit>, <tank>, <tankdata>, <variouspieces>, <videocamera>, <watch> to be cross-referenced)

See Also

<dive>, <equipmentconfiguration>, <informationafterdive>

Examples

see also the child elements

<dive>
    <informationafterdive>
        <equipmentused>
            <!-- The cross-referencings below require their counterpart to be set in the -->
            <!-- <equipment> section before, where all equipment parts have ro be -->
            <!-- declared. As many as necessary parts can be cross-referenced, also -->
            <!-- multiple cross-referencings of a type of part are possible - as long -->
            <!-- as the ID's are unique. -->
            <link ref="my_boots"/>
            <link ref="my_bcd"/>
            <link ref="my_compass"/>
            <link ref="fins_lame-duck"/>
            <link ref="knife_titan"/>
            <link ref="knife_steel_small"/>
            <link ref="knife_steel_big"/>
            <link ref="mask_clear_sight"/>
            <link ref="suit_semi-dry-7mm"/>
            <link ref="12l_steeltank"/>
        </equipmentused>
        <!-- here more statements -->
    </informationafterdive>
</dive>
                
<!-- In this second example a cross-reference inside <equipmentused> is used -->
<!-- to have access to the equipment data which are previously given inside -->
<!-- <equipment>. By this it's not necessary to explicitly list all pieces -->
<!-- of equipment individually for each dive. -->
<diver>
    <owner id="owner_gillian">
        <equipment>
            <!-- here listing of all pieces of the diving equipment -->
            <boots id="my_boots">
                <!-- here description of boots -->
                ...
            </boots>
            ...
            <tank id="12l_steeltank">
                <!-- here description of tank -->
                ...
            </tank>
            <equipmentconfiguration id="gillians_equipment">
                <name>my_diving_equipment</name>
                <!-- The cross-references given here presume that all pieces -->
                <!-- have been declared above -->
                <link ref="my_boots"/>
                <link ref="my_bcd"/>
                <link ref="my_compass"/>
                <link ref="fins_lame-duck"/>
                <link ref="knife_titan"/>
                <link ref="knife_steel_small"/>
                <link ref="knife_steel_big"/>
                <link ref="mask_clear_sight"/>
                <link ref="suit_semi-dry-7mm"/>
                <link ref="12l_steeltank"/>
                <notes>
                    <!-- here additional remarks concerning this equipment configuration -->
                </notes>
            </equipmentconfiguration>
        </equipment>
    </owner>
</diver>
...
<profiledata>
    <repetitiongroup id="rg_aaa">
        <dive id="dive_456">
            <informationafterdive>
                <equipmentused>
                    <!-- The following cross-reference presumes that all pieces of equipment -->
                    <!-- are listed inside the <equipment> section, and that they are -->
                    <!-- aggregated there at the end via </equipmentconfiguration>. -->
                    <link ref="gillians_equipment"/>
                </equipmentused>
                ...
            </informationafterdive>
            ...
        </dive>
        ...
    </repetitiongroup>
</profiledata>