aboutsummaryrefslogtreecommitdiffstats
path: root/xslt/uddf.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/uddf.xslt')
-rw-r--r--xslt/uddf.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index 4f0c90071..1d130d739 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -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">