CSV import: support for quoted " within field

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2018-10-07 14:32:46 +03:00 committed by Dirk Hohndel
parent 9540793552
commit b3694faefc

View file

@ -302,8 +302,8 @@
<xsl:choose>
<xsl:when test="substring($line, 1, 1) = '&quot;'">
<xsl:choose>
<xsl:when test="substring-before(substring-after($line, '&quot;'), '&quot;') != ''">
<xsl:value-of select="substring-before(substring-after($line, '&quot;'), '&quot;')"/>
<xsl:when test="substring-before(substring-after($line, '&quot;'), concat('&quot;', $fs)) != ''">
<xsl:value-of select="substring-before(substring-after($line, '&quot;'), concat('&quot;', $fs))"/>
</xsl:when>
<xsl:otherwise>
<xsl:choose>