For the sake of better clarity, inside <informationbeforedive> all that information concerning the current dive is put into brackets that is known before starting the dive.
<dive>
<airtemperature>, <alcoholbeforedive>, <altitude>, <apparatus>, <datetime>, <divenumber>, <internaldivenumber>, <link/>, <medicationbeforedive>, <nosuit/>, <plannedprofile>, <platform>, <price>, <purpose>, <stateofrestbeforedive>, <surfaceintervalbeforedive>, <surfacepressure>, <tripmembership>
<dive>, <informationafterdive>
(see also <dive>)
<informationbeforedive> <link ref="site_IllesMedes_coast_archway"/> <divenumber>234</divenumber> <internaldivenumber>147</internaldivenumber> <!-- with this dive computer only 147 dives were made --> <airtemperature>297.15</airtemperature> <!-- 24 °C --> <datetime>1999-04-06T16:21</datetime> <alcoholbeforedive> <! -- here information concerning drinks taken before the dive --> </alcoholbeforedive> <link ref="buehlmann_zhl16"/> <!-- decompression model used: Bühlmann ZH-L16 --> <surfaceintervalbeforedive> <passedtime>9000.0</passedtime> </surfaceintervalbeforedive> <altitude>0.0</altitude> <surfacepressure>103000.0</surfacepressure> <!-- 1030 mbar --> <platform>charter-boat</platform> <apparatus>open-scuba</apparatus> <purpose>sightseeing</purpose> <stateofrestbeforedive>rested</stateofrestbeforedive> <tripmembership>Estartit 1999</tripmembership> </informationbeforedive>