Have the dive duration in variable for further use

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-05-01 09:10:59 -06:00 committed by Dirk Hohndel
parent e491f4a0db
commit 4f83bb9236

View file

@ -22,12 +22,17 @@
<TIME>
<xsl:value-of select="@time"/>
</TIME>
<DIVETIMESEC>
<xsl:variable name="duration">
<xsl:call-template name="time2sec">
<xsl:with-param name="time">
<xsl:value-of select="@duration"/>
</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<DIVETIMESEC>
<xsl:value-of select="$duration"/>
</DIVETIMESEC>
<LOCATION>
<xsl:value-of select="location"/>