For the sake of better clarity, inside <informationafterdive> all that information concerning the current dive is put into brackets that is known only after the end of the dive.
<dive>
<anysymptoms>, <averagedepth>, <current>, <desaturationtime>, <diveduration>, <diveplan>, <divetable>, <equipmentmalfunction>, <equipmentused>, <globalalarmsgiven>, <greatestdepth>, <highestpo2>, <lowesttemperature>, <noflighttime>, <notes>, <observations>, <pressuredrop>, <problems>, <program>, <rating>, <surfaceintervalafterdive>, <thermalcomfort>, <visibility>, <workload>
(see also <dive>)
<informationafterdive>
<anysymptoms>
<!-- here description of possibly occurred DCS symptoms -->
</anysymptoms>
<lowesttemperature>285.2</lowesttemperature>
<greatestdepth>25.8</greatestdepth>
<visibility>10.0</visibility>
<current>very-mild-current</current>
<diveduration>3900.0</diveduration> <!-- duration of dive 65 min -->
<averagedepth>15.2</averagedepth>
<diveplan>dive-computer</diveplan>
<equipmentused>
<! -- here information concerning the equipment used with this dive -->
</equipmentused>
<equipmentmalfunction>none</equipmentmalfunction>
<pressuredrop>16000000.0</pressuredrop> <!-- 160 bar -->
<problems>equalisation</problems>
<program>recreation</program>
<thermalcomfort>comfortable</thermalcomfort>
<workload>light</workload>
<desaturationtime>63840.0</desaturationtime> <!-- 17 h 44 min -->
<noflighttime>34200.0</noflighttime> <!-- 9 h 30 min -->
<notes>
<para>
<!-- here text written into the logbook -->
</para>
<link ref="img_from_dive123"/>
<!-- here any number of images, audio, and video files can be inserted via <link ref="..."/> -->
</notes>
<!-- personal rating of the dive -->
<rating>
<!-- There is no need to set the date of the rating, -->
<!-- for the dive will normally be rated only once :-) -->
<!-- and the date is given above. -->
<ratingvalue>5</ratingvalue>
</rating>
</informationafterdive>