summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/xml2csv.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/xml2csv.xslt b/xslt/xml2csv.xslt
index 86739a627..c452dc2ea 100644
--- a/xslt/xml2csv.xslt
+++ b/xslt/xml2csv.xslt
@@ -23,7 +23,7 @@
<xsl:variable name="time">
<xsl:value-of select="@time"/>
</xsl:variable>
- <xsl:for-each select="divecomputer/sample|sample">
+ <xsl:for-each select="divecomputer[1]/sample|sample">
<xsl:value-of select="concat('&quot;', $number, '&quot;')"/>
<xsl:value-of select="$fs"/>
<xsl:value-of select="concat('&quot;', $date, '&quot;')"/>