Include dive number on uddf import

Adjust to UDDF 3.2 specification

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-12-13 22:00:27 +02:00 committed by Dirk Hohndel
parent cb0762a3ff
commit 872ee7efab

View file

@ -85,9 +85,9 @@
</xsl:call-template>
</xsl:when>
</xsl:choose>
<xsl:if test="dive_number != ''">
<xsl:if test="dive_number|u:informationbeforedive/u:divenumber != ''">
<xsl:attribute name="number">
<xsl:value-of select="dive_number"/>
<xsl:value-of select="dive_number|u:informationbeforedive/u:divenumber"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="dive_duration != '' and dive_duration != 0">