[PATCH 1/3] Update header to use sample wording on CSV export

Miika Turkia miika.turkia at gmail.com
Mon Jan 26 08:44:37 PST 2015


The profile export now uses Sample time, etc. on profile export as that
is the naming we use on import as well.

Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 xslt/xml2csv.xslt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xslt/xml2csv.xslt b/xslt/xml2csv.xslt
index c452dc2..093f8ea 100644
--- a/xslt/xml2csv.xslt
+++ b/xslt/xml2csv.xslt
@@ -7,7 +7,7 @@
   <xsl:variable name="fs">,</xsl:variable>
 
   <xsl:template match="/divelog/dives">
-    <xsl:value-of select="concat('"dive number"', $fs, '"date"', $fs, '"time"', $fs, '"duration"', $fs, '"depth"', $fs, '"temperature"', $fs, '"pressure"')"/>
+    <xsl:value-of select="concat('"dive number"', $fs, '"date"', $fs, '"time"', $fs, '"sample time"', $fs, '"sample depth"', $fs, '"sample temperature"', $fs, '"sample pressure"')"/>
     <xsl:text>
 </xsl:text>
     <xsl:apply-templates select="dive|trip/dive"/>
-- 
1.9.1



More information about the subsurface mailing list