diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2016-04-24 21:11:14 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-25 09:07:27 -0700 |
commit | 7a4fa510e9280c881cca27eb4dfafa11ea050130 (patch) | |
tree | 3a598ec80d484ceb11254f2fb538499292fa40e2 /xslt | |
parent | 31b34a24cc890cb377952a7025a92725220e20a4 (diff) | |
download | subsurface-7a4fa510e9280c881cca27eb4dfafa11ea050130.tar.gz |
Add pipe as supported field separator on CSV import
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/csv2xml.xslt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt index 903f45535..5ce584745 100644 --- a/xslt/csv2xml.xslt +++ b/xslt/csv2xml.xslt @@ -30,6 +30,7 @@ <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:when test="$separatorIndex = 3"><xsl:text>|</xsl:text></xsl:when> <xsl:otherwise><xsl:text>,</xsl:text></xsl:otherwise> </xsl:choose> </xsl:variable> |