diff options
author | 2016-04-24 21:11:14 +0300 | |
---|---|---|
committer | 2016-04-25 12:02:15 -0700 | |
commit | 3ce15d236b54507c4a45167f230b7b0c20b30bd0 (patch) | |
tree | f808e0552a984a537331f72626cdd4311c167d47 | |
parent | 40af185902161e414675fa26cf560e7d873b08c0 (diff) | |
download | subsurface-3ce15d236b54507c4a45167f230b7b0c20b30bd0.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>
-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> |