aboutsummaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2019-05-09 06:50:03 +0300
committerGravatar Robert C. Helling <helling@atdotde.de>2019-05-10 10:40:35 +0200
commitfade17d16b383355227879365988f6f512d23514 (patch)
treec7196240d60ad3b34a36ae6b114566b734017276 /xslt
parent00ec824129ea2662ace5a4077ba9bc865ecc70ff (diff)
downloadsubsurface-fade17d16b383355227879365988f6f512d23514.tar.gz
Suunto import: fix weight import
Suunto apparently has a typo in their SDE format. Let's import also WEIGTH :D Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/SuuntoSDM.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt
index fbea94b06..c6b078338 100644
--- a/xslt/SuuntoSDM.xslt
+++ b/xslt/SuuntoSDM.xslt
@@ -84,10 +84,10 @@
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="WEIGHT != ''">
+ <xsl:if test="WEIGHT|WEIGTH != ''">
<weightsystem>
<xsl:attribute name="weight">
- <xsl:value-of select="concat(translate(WEIGHT, ',', '.'), ' kg')"/>
+ <xsl:value-of select="concat(translate(WEIGHT|WEIGTH, ',', '.'), ' kg')"/>
</xsl:attribute>
</weightsystem>
</xsl:if>