summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-02-08 21:09:21 +0200
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-02-08 21:30:00 +0100
commit859098a37e48c1ecbbad4161e3fdfde3365f74b6 (patch)
tree3a8202b3426011dcac22b0dfff5fb9ca8bf6565e
parentf798859178d55bf340d6ed573c31fe15a410ca4f (diff)
downloadsubsurface-859098a37e48c1ecbbad4161e3fdfde3365f74b6.tar.gz
SDE import: include DC serial number
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
-rw-r--r--xslt/SuuntoSDM.xslt6
1 files changed, 6 insertions, 0 deletions
diff --git a/xslt/SuuntoSDM.xslt b/xslt/SuuntoSDM.xslt
index f0bff52a7..fbea94b06 100644
--- a/xslt/SuuntoSDM.xslt
+++ b/xslt/SuuntoSDM.xslt
@@ -10,6 +10,12 @@
<xsl:attribute name="model">
<xsl:value-of select="concat('Suunto ', /SUUNTO/MSG/DEVICEMODEL)" />
</xsl:attribute>
+ <xsl:attribute name="deviceid">
+ <xsl:value-of select="/SUUNTO/MSG/WRISTOPID" />
+ </xsl:attribute>
+ <xsl:attribute name="serial">
+ <xsl:value-of select="/SUUNTO/MSG/WRISTOPID" />
+ </xsl:attribute>
</divecomputer>
<xsl:apply-templates select="/SUUNTO/MSG"/>
</dives>