<tablegeneration>

In this section instructions for the calculation, or generation respectively, of ascent profiles (<calculateprofile>), dive tables (<calculatetable>), and "maximum bottom time tables" (<calculatebottomtimetable>), are given. Through cross-referencing on previous dives it is possible to take into consideration remaining saturations. Different breathing gases can be considered in the calculations as well as computing ascent profiles, and dive tables, with different decompression models (if the executing software supports this), of course.

Additionally, for a given dive table a "maximum bottom time table" can be generated. This table lists maximum bottom times for different depths for different breathing gas consumption values, and tank volumes, to be set. Possible decompression stops to be taken care of are taken into consideration, of course.

<calculateprofile>
    <profile>
        <title>
        <surfaceintervalbeforedive>
            <infinity/>
            <passedtime>
            <wayaltitude>
        <density>
        <output>
            <lingo>
            <fileformat>
            <filename>
            <headline>
            <remark>
        <applicationdata>
            <decotrainer>
            <hargikas>
            <heinrichsweikamp>
            <tausim>
            <tautabu>
        <decomodel>
        <deepstoptime>
        <maximumascendingrate>
        <inputprofile>
            <link/> (for <dive> data to be cross-referenced)
            <link/> (for <repetitiongroup> data to be cross-referenced)
            <waypoint>
                <alarm>
                <batterychargecondition>
                <bodytemperature>
                <calculatedpo2>
                <cns>
                <decostop/>
                <depth>
                <divemode/>
                <divetime>
                <gradientfactor>
                <heading>
                <heartrate>
                <measuredpo2>
                <nodecotime>
                <otu>
                <pulserate>
                <remainingbottomtime>
                <remainingo2time>
                <setmarker>
                <setpo2>
                <switchmix/>
                <tankpressure>
                <temperature>
        <mixchange>
            <ascent>
                <waypoint>
                    <alarm>
                    <batterychargecondition>
                    <bodytemperature>
                    <calculatedpo2>
                    <cns>
                    <decostop/>
                    <depth>
                    <divemode/>
                    <divetime>
                    <gradientfactor>
                    <heading>
                    <heartrate>
                    <measuredpo2>
                    <nodecotime>
                    <otu>
                    <pulserate>
                    <remainingbottomtime>
                    <remainingo2time>
                    <setmarker>
                    <setpo2>
                    <switchmix/>
                    <tankpressure>
                    <temperature>
            <descent>
                <waypoint>
                    <alarm>
                    <batterychargecondition>
                    <bodytemperature>
                    <calculatedpo2>
                    <cns>
                    <decostop/>
                    <depth>
                    <divemode/>
                    <divetime>
                    <gradientfactor>
                    <heading>
                    <heartrate>
                    <measuredpo2>
                    <nodecotime>
                    <otu>
                    <pulserate>
                    <remainingbottomtime>
                    <remainingo2time>
                    <setmarker>
                    <setpo2>
                    <switchmix/>
                    <tankpressure>
                    <temperature>
            
<calculatetable>
    <table>
        <title>
        <inputprofile>
            <link/> (for <dive> data to be cross-referenced)
            <link/> (for <repetitiongroup> data to be cross-referenced)
            <waypoint>
                <alarm>
                <batterychargecondition>
                <bodytemperature>
                <calculatedpo2>
                <cns>
                <decostop/>
                <depth>
                <divemode/>
                <divetime>
                <gradientfactor>
                <heading>
                <heartrate>
                <measuredpo2>
                <nodecotime>
                <otu>
                <pulserate>
                <remainingbottomtime>
                <remainingo2time>
                <setmarker>
                <setpo2>
                <switchmix/>
                <tankpressure>
                <temperature>
        <link/> (for <mix> data to be cross-referenced)
        <surfaceintervalbeforedive>
            <infinity/>
            <passedtime>
            <wayaltitude>
        <density>
        <output>
            <lingo>
            <fileformat>
            <filename>
            <headline>
            <remark>
        <applicationdata>
            <decotrainer>
            <hargikas>
            <heinrichsweikamp>
            <tausim>
            <tautabu>
        <decomodel>
        <deepstoptime>
        <maximumascendingrate>
        <tablescope>
            <altitude>
            <divedepthbegin>
            <divedepthend>
            <divedepthstep>
            <bottomtimemaximum>
            <bottomtimeminimum>
            <bottomtimestepbegin>
            <bottomtimestepend>
            
<calculatebottomtimetable>
    <bottomtimetable>
        <title>
        <link/> (for <table> data to be cross-referenced)
        <output>
            <lingo>
            <fileformat>
            <filename>
            <headline>
            <remark>
        <applicationdata>
            <decotrainer>
            <hargikas>
            <heinrichsweikamp>
            <tausim>
            <tautabu>
        <bottomtimetablescope>
            <divedepthbegin>
            <divedepthend>
            <divedepthstep>
            <breathingconsumptionvolumebegin>
            <breathingconsumptionvolumeend>
            <breathingconsumptionvolumestep>
            <tankvolumebegin>
            <tankvolumeend>
            <tankvolumestep>
            <tankpressurebegin>
            <tankpressurereserve>