summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/divelogs-export.xslt11
1 files changed, 10 insertions, 1 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index 904c89334..f231060c0 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -205,9 +205,18 @@
</xsl:choose>
</xsl:variable>
- <SAMPLEINTERVAL>
+ <!-- Test if dive computer requires special handling -->
+ <xsl:variable name="special">
<xsl:choose>
<xsl:when test="divecomputer/@model = 'Suunto EON Steel'">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+
+ <SAMPLEINTERVAL>
+ <xsl:choose>
+ <xsl:when test="$special = 1">
<xsl:text>10</xsl:text>
</xsl:when>
<xsl:otherwise>