<diver>

        <owner>
        <buddy>
            

Within <diver> only the two elements <owner> (to be the first, allowed to appear only once (1)), and <buddy>, do exist — the last one can appear any times in the file. The following listing of elements is used within both elements. The only exception is the element <student> which may appear only inside <buddy> — denoting that this <buddy> is a student (if the <owner> of the UDDF file is a dive instructor).

<diver>
    <owner> bzw. <buddy>
        <student/> (only inside <buddy>)
        <personal>
            <firstname>
            <middlename>
            <lastname>
            <birthname>
            <honorific>
            <sex>
            <height>
            <weight>
            <smoking>
            <birthdate>
                <datetime>
            <passport>
            <bloodgroup>
            <membership/>
            <numberofdives/>
        <address>
            <street>
            <city>
            <postcode>
            <country>
            <province>
        <contact>
            <language>
            <phone>
            <mobilephone>
            <fax>
            <email>
            <homepage>
        <equipment>
            <buoyancycontroldevice>
                <name>
                <aliasname>
                <link/> (for cross-referencing <manufacturer> data)
                <manufacturer>
                    <name>
                    <aliasname>
                    <address>
                        <street>
                        <city>
                        <postcode>
                        <country>
                        <province>
                    <contact>
                        <language>
                        <phone>
                        <mobilephone>
                        <fax>
                        <email>
                        <homepage>
                <model>
                <serialnumber>
                <purchase>
                    <datetime>
                    <link/> (for cross-referencing <shop> data)
                    <price>
                    <shop>
                        <name>
                        <aliasname>
                        <address>
                            <street>
                            <city>
                            <postcode>
                            <country>
                            <province>
                        <contact>
                            <language>
                            <phone>
                            <mobilephone>
                            <fax>
                            <email>
                            <homepage>
                        <notes>
                            <para>
                            <link/> (for cross-referencing <audio>,  <image>, and  <video> objects)
                <serviceinterval>
                <nextservicedate>
                    <datetime>
                <notes>
                    <para>
                    <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)
            <boots>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <camera>
                <body>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
                <lens>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
                <housing>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
                <flash>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
            <compass>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <compressor>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <divecomputer>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <fins>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <gloves>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <knife>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <lead>
                <leadquantity>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <lens>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <light>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <mask>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <rebreather>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
                <o2sensor>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
            <regulator>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <scooter>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <suit>
                <suittype>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <tank>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
                <tankmaterial>
            <variouspieces>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <videocamera>
                <body>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
                <lens>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
                <housing>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
                <light>
                    <all elements which appear under <buoyancycontroldevice> can also stand here>
            <watch>
                <all elements which appear under <buoyancycontroldevice> can also stand here>
            <equipmentconfiguration>
                <name>
                <aliasname>
                <link/> (to be repeated for every piece of equipment to be cross-referenced)
                <notes>
                    <para>
                    <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)
        <medical>
            <examination>
                <datetime>
                <doctor>
                    <personal>
                        <firstname>
                        <middlename>
                        <lastname>
                        <honorific>
                        <sex>
                        <birthdate>
                            <datetime>
                        <passport>
                        <bloodgroup>
                        <membership/>
                        <numberofdives/>
                    <address>
                        <street>
                        <city>
                        <postcode>
                        <country>
                        <province>
                    <contact>
                        <language>
                        <phone>
                        <mobilephone>
                        <fax>
                        <email>
                        <homepage>
                <totallungcapacity>
                <vitalcapacity>
                <examinationresult>
                <link/> (for cross-referencing on previously declared <doctor> data)
                <notes>
                    <para>
                    <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)
            <prescribedmedicine>
                <medicine>
                    <name>
                    <aliasname>
                    <notes>
                        <para>
                        <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)
                    <periodicallytaken>
                    <timespanbeforedive>
        <education>
            <certification>
                <level>
                <specialty>
                <organization>
                <link/> (for cross-referencing <instructor> data)
                <instructor>
                    <personal>
                        <firstname>
                        <middlename>
                        <lastname>
                        <honorific>
                        <sex>
                        <birthdate>
                            <datetime>
                        <passport>
                        <bloodgroup>
                        <membership/>
                        <numberofdives/>
                    <address>
                        <street>
                        <city>
                        <postcode>
                        <country>
                        <province>
                    <contact>
                        <language>
                        <phone>
                        <mobilephone>
                        <email>
                        <homepage>
                <issuedate>
                    <datetime>
                <validdate>
                    <datetime>
                <notes>
                    <para>
                    <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)
        <divepermissions>
            <permit>
                <name>
                <aliasname>
                <region>
                <issuedate>
                    <datetime>
                <validdate>
                    <datetime>
                <notes>
                    <para>
                    <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)
        <diveinsurances>
            <insurance>
                <name>
                <aliasname>
                <issuedate>
                    <datetime>
                <validdate>
                    <datetime>
                <notes>
                    <para>
                    <link/> (for cross-referencing  <audio>,  <image>, and  <video> objects)