summaryrefslogtreecommitdiffstats
path: root/xslt/xml2csv.xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-04-30 19:08:28 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-30 09:16:21 -0700
commit1739b4879aba545e29c5a85621b9a9e9a341cb4c (patch)
treeeb8859dad6c9e8954e21bb1e00d86a0a09967a67 /xslt/xml2csv.xslt
parent97e9be1ba6040aad02891806e5f0fa6e30827815 (diff)
downloadsubsurface-1739b4879aba545e29c5a85621b9a9e9a341cb4c.tar.gz
Improve header wording for CSV export
Duration is better term than time for the length of the dive. Also remove the repetitive word dive from some of the header fields. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/xml2csv.xslt')
-rw-r--r--xslt/xml2csv.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/xml2csv.xslt b/xslt/xml2csv.xslt
index 56461bc58..3ba6b85be 100644
--- a/xslt/xml2csv.xslt
+++ b/xslt/xml2csv.xslt
@@ -6,7 +6,7 @@
<xsl:variable name="fs">,</xsl:variable>
<xsl:template match="/divelog/dives">
- <xsl:value-of select="concat('&quot;dive number&quot;', $fs, '&quot;dive date&quot;', $fs, '&quot;dive time&quot;', $fs, '&quot;time&quot;', $fs, '&quot;depth&quot;', $fs, '&quot;temperature&quot;', $fs, '&quot;pressure&quot;')"/>
+ <xsl:value-of select="concat('&quot;dive number&quot;', $fs, '&quot;date&quot;', $fs, '&quot;time&quot;', $fs, '&quot;duration&quot;', $fs, '&quot;depth&quot;', $fs, '&quot;temperature&quot;', $fs, '&quot;pressure&quot;')"/>
<xsl:text>
</xsl:text>
<xsl:apply-templates select="dive|trip/dive"/>