diff options
-rw-r--r-- | xslt/xml2csv.xslt | 2 |
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('"', $number, '"')"/> <xsl:value-of select="$fs"/> <xsl:value-of select="concat('"', $date, '"')"/> |