summaryrefslogtreecommitdiffstats
path: root/xslt/subsurfacecsv.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/subsurfacecsv.xslt')
-rw-r--r--xslt/subsurfacecsv.xslt10
1 files changed, 9 insertions, 1 deletions
diff --git a/xslt/subsurfacecsv.xslt b/xslt/subsurfacecsv.xslt
index 1aed0e9b2..b0a1b12e9 100644
--- a/xslt/subsurfacecsv.xslt
+++ b/xslt/subsurfacecsv.xslt
@@ -142,7 +142,15 @@
</xsl:attribute>
</xsl:if>
- <divecomputerid deviceid="ffffffff" model="csv" />
+ <divecomputer deviceid="ffffffff" model="SubsurfaceCSV">
+ <xsl:attribute name="dctype">
+ <xsl:call-template name="getFieldByIndex">
+ <xsl:with-param name="index" select="7"/>
+ <xsl:with-param name="line" select="$line"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ </divecomputer>
+
<depth>
<xsl:variable name="max">