diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-05-01 09:10:59 -0600 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-02 17:02:21 -0700 |
commit | f29fa78a8d8ca76e82e8a25507e365fe9f842e65 (patch) | |
tree | e84725d97fc0a7ec75afb857e1194cb9db60cf67 | |
parent | e4f65ab21e856c4db90cf9cc4b3f524d356e27ce (diff) | |
download | subsurface-f29fa78a8d8ca76e82e8a25507e365fe9f842e65.tar.gz |
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>
-rw-r--r-- | xslt/divelogs-export.xslt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt index f912febed..7ae342356 100644 --- a/xslt/divelogs-export.xslt +++ b/xslt/divelogs-export.xslt @@ -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"/> |