diff options
author | Rodrigo Severo <rodrigo@fabricadeideias.com> | 2014-01-13 21:12:30 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-14 21:08:31 +0700 |
commit | 2da8146b46b6a6ed959d536249078b3ce1f5e329 (patch) | |
tree | ff49f0a75ecccf9a7e7cdffeb302f6025768eb62 /xslt | |
parent | 3ce5520b9cd04edff9ed048e274a0e4a53cc6584 (diff) | |
download | subsurface-2da8146b46b6a6ed959d536249078b3ce1f5e329.tar.gz |
Include support for semicolon separated CSV files
Oceanic's Geo's companion software, OceanLog, when exporting as txt produces log files with the dives samples as semicolon separated CSV files.
Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/csv2xml.xslt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt index f21fced13..87d494f30 100644 --- a/xslt/csv2xml.xslt +++ b/xslt/csv2xml.xslt @@ -19,6 +19,7 @@ <xsl:variable name="fs"> <xsl:choose> <xsl:when test="$separatorIndex = 0"><xsl:text> </xsl:text></xsl:when> + <xsl:when test="$separatorIndex = 2"><xsl:text>;</xsl:text></xsl:when> <xsl:otherwise><xsl:text>,</xsl:text></xsl:otherwise> </xsl:choose> </xsl:variable> |