[PATCH 01/12] Add pipe as supported field separator on CSV import
Miika Turkia
miika.turkia at gmail.com
Sun Apr 24 11:11:14 PDT 2016
Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
xslt/csv2xml.xslt | 1 +
1 file changed, 1 insertion(+)
diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt
index 903f455..5ce5847 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>
--
2.5.0
More information about the subsurface
mailing list