diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-12-31 22:09:39 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-31 12:13:11 -0800 |
commit | 16c46ba2f8972b36f265914cfc3e083c5edc0f84 (patch) | |
tree | 7b03c9806e17220f524716d9d4f946b4bc1c9bfb /xslt | |
parent | 77a7595cbd649b4f7623d3bd7db3eb14ed68e9db (diff) | |
download | subsurface-16c46ba2f8972b36f265914cfc3e083c5edc0f84.tar.gz |
Export only profile from first divecomputer
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-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, '"')"/> |