trip

Occurrence

compulsory, multiple

Attributes

id=unique identifier for this trip

Description

Inside <trip> all data concerning a certain dive trip, or a part of a dive trip respectively, is put into brackets. Besides a <name>, an <aliasname>, and a <rating>, the only further element inside <trip> is <trippart>. Any number of <trippart> sections may appear inside <trip>, but at least one must occur.

This additional parenthesis via <trippart> is necessary because a diving holiday may consist of different "parts", for example at first one week boat trip and following a week in a hotel with diving from land. In case a diving holiday consists only of one "part", e.g. a hotel trip, then only one lt;trippart> element appears inside the <trip> section.

If the <divetrip> section is given, at least one <trip> section must occur, too.

Parent Elements

<divetrip>

Child Elements

<aliasname>, <name>, <rating>, <trippart>

See Also

<divetrip>

Examples

(see also <divetrip>)

<divesite>
    <divebase id="db_deep-down">
        <name>Deep Down</name>
        <contact>
            <email>info@deep-down-diving.com</email>
            <homepage>http://www.deep-down-diving.com</homepage>
        </contact>
        <priceperdive currency="USD">40.00</priceperdive>
        <pricedivepackage currency="USD" noofdives="10">3.0.10</pricedivepackage>
        <guide id="guide_George">
            <!-- dive guide must be described in the <buddy> section, here only a cross-reference is given -->
            <link ref="buddy_George">
        </guide>
        <guide id="guide_Hansi_the_airsucker">
            <!-- 2. dive guide must be described as <buddy>... -->
            <link ref="buddy_Hansi_the_airsucker">
        </guide>
        <rating>
            <datetime>2003-04-19</datetime>
            <ratingvalue>7</ratingvalue>
        </rating>
    </divebase>
</divesite>
<divetrip>
    <trip id="trip_red-sea-2003">
        <name>Dive Club Trip Red Sea 2003</name>
        <trippart type="hoteltrip, organizedtrip">
            <dateoftrip startdate ="2003-04-12" enddate="2003-04-19"/>
            <geography>
                <location>Hurghada</location>
                <country>Egypt</country>
            </geography>
            <accommodation>
                <name>Hotel 1000 and 1 Night</name>
                <category>hotel</category>
                <contact>
                    <email>info@hotel-1000-and-1-night.com</email>
                    <homepage>http://www.hotel-1000-and-1-night.com</homepage>
                </contact>
                <rating>
                    <datetime>2003-04-19</datetime>
                    <ratingvalue>6</ratingvalue>
                </rating>
            </accommodation>
            <link ref="db_deep-down"/>   <!-- cross-referencing of the dive base -->
            <relateddives>
                <link ref="tg_403"><link ref="tg_404"><link ref="tg_405"><link ref="tg_406">
                <link ref="tg_407"><link ref="tg_408"><link ref="tg_409"><link ref="tg_410">
                <link ref="tg_411"><link ref="tg_412"><link ref="tg_413"><link ref="tg_414">
                <link ref="tg_415"><link ref="tg_416"><link ref="tg_417">
            </relateddives>
            <notes>
                <para>
                    Nice diving vacation - if only less divers were there...
                </para>
                <link ref="video_rm2003"/>
            </notes>
        </trippart>
    </trip">
</divetrip>
                
<divetrip>
    <trip id="trip_dive-and-sail-2004">
        <name>Dive & Sail 2004</name>
        <trippart type="boattrip, individualtrip">
            <dateoftrip startdate ="2004-09-24" enddate="2004-10-03"/>
            <geography>
                <province>Cote d'Azur</province>
                <country>France</country>
            </geography>
            <vessel>
                <name>Dorade</name>
                <shiptype>sailing yacht</shiptype>
                <marina>Bormes les Mimosas</marina>
                <shipdimension>
                    <length>14.6</length>
                    <beam>3.5</beam>
                </shipdimension>
            </vessel>
            <relateddives>
                <link ref="tg_530"/><link ref="tg_531"/><link ref="tg_532"/><link ref="tg_533"/>
                <link ref="tg_534"/><link ref="tg_535"/><link ref="tg_536"/><link ref="tg_537"/>
                <link ref="tg_538"/><link ref="tg_539"/><link ref="tg_540"/><link ref="tg_541"/>
            </relateddives>
            <notes>
                <para>
                    Our motto: We dive that what other ones are dreaming of!!! :-)
                </para>
                <link ref="video_ds2004"/>
            </notes>
        </trippart>
    </trip">
</divetrip>
                
<divetrip>
    <trip id="trip_holiday2005">
        <name>Dive club trip to Corse 2005</name>
        <trippart type="boattrip, organizedtrip">
            <name>Dive club trip to Corse 2005 - 1 week Galiote</name>
            <dateoftrip startdate="2005-05-21" enddate="2005-05-28"/>
            <geography>
                <location>Mediterranean Sea</location>
                <address>
                    <country>Corse</country>
                </address>
            </geography>
            <vessel>
                <name>Galiote</name>
                <shiptype>motoryacht</shiptype>
                <!-- no other data available -->
            </vessel>
            <relateddives>
                <link ref="dive_580"/><link ref="dive_581"/><link ref="dive_582"/><link ref="dive_583"/>
                <link ref="dive_584"/><link ref="dive_585"/><link ref="dive_586"/><link ref="dive_587"/>
                <link ref="dive_588"/><link ref="dive_589"/><link ref="dive_590"/><link ref="dive_591"/>
            </relateddives>
            <notes>
                <para>Nice diving holiday with Günter and his crew!</para>
                <link ref="video_galiote2005"/>
            </notes>
        </trippart>
        <trippart type="individualtrip">
            <name>Dive club trip to Corse 2005 - 1 week campingground and dive club Nemo</name>
            <dateoftrip startdate="2005-05-28" enddate="2005-06-05"/>
            <geography>
                <address>
                    <country>Corse</country>
                </address>
            </geography>
            <accommodation>
                <name>Camping Corse</name>
                <category>Camping</category>
                <contact>
                    <email>info@camping-corse.com</email>
                    <homepage>http://www.camping-corse.com</homepage>
                </contact>
                <rating>
                    <ratingvalue>6</ratingvalue>
                </rating>
            </accommodation>
            <relateddives>
                <link ref="dive_592"/><link ref="dive_593"/><link ref="dive_594"/><link ref="dive_595"/>
                <link ref="dive_596"/><link ref="dive_597"/><link ref="dive_598"/><link ref="dive_599"/>
                <link ref="dive_600"/><link ref="dive_601"/><link ref="dive_602"/><link ref="dive_603"/>
            </relateddives>
            <notes>
                <para>Nice second week of the diving holiday!</para>
                <link ref="video_corse2005"/>
            </notes>
        </trippart>
    </trip">
</divetrip>