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>.

Parent Elements

<dive>

Child Elements

<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>

Examples

see also the child elements

<dive>
    <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 -->
</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">
            <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>
            ...
        </dive>
        ...
    </repetitiongroup>
</profiledata>