<repetitiongroup> puts dives into brackets which "belong together". "Belong together" means, all dives have a finite surface interval (except the first dive) — e.g. made during a diving holiday. The individual dives inside <repetitiongroup> are divided by <dive> elements.
Several <repetitiongroup> sections can appear one after the other inside an UDDF file. Inside a <repetitiongroup> section at least one <dive> element must be given. The first dive given inside <repetitiongroup> should have an "infinite" surface interval.
The attribute serves for the possibility to not only use cross-references to individual dives but for all dives "belonging together", for example dives made during a dive trip.
<dive>
(see also <profiledata>)
<profiledata>
<!-- all dives are grouped inside <repetitiongroup> -->
<repetitiongroup id="rg1">
<dive id="dive1">
<!-- here statements for the first dive -->
<!-- (should have an "infinite" surface interval) -->
<surfaceintervalbeforedive>
<infinity/>
</surfaceintervalbeforedive>
</dive>
<dive id="dive2">
<!-- here statements for the second dive -->
<!-- (should have a finite surface interval) -->
</dive>
<dive id="dive3">
<!-- here statements for the third dive -->
<!-- (should have a finite surface interval) -->
</dive>
<!-- here more dives can be placed -->
</repetitiongroup>
<!-- between the last dive of the previous <repetitiongroup> -->
<!-- and the first dive of the next <repetitiongroup> lies such -->
<!-- a large surfaceintervalbeforedive that all tissues are saturated -->
<!-- concerning ambient pressure -->
<repetitiongroup id="rg2">
<dive id="dive4">
<!-- here statements for the first dive in this <repetitiongroup> -->
<!-- (should have an "infinite" surface interval) -->
<surfaceintervalbeforedive>
<infinity/>
</surfaceintervalbeforedive>
</dive>
<!-- here statements for further dives made -->
</repetitiongroup>
</profiledata>