CSV import: support for quoted " within field
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
9540793552
commit
b3694faefc
@ -302,8 +302,8 @@
|
||||
<xsl:choose>
|
||||
<xsl:when test="substring($line, 1, 1) = '"'">
|
||||
<xsl:choose>
|
||||
<xsl:when test="substring-before(substring-after($line, '"'), '"') != ''">
|
||||
<xsl:value-of select="substring-before(substring-after($line, '"'), '"')"/>
|
||||
<xsl:when test="substring-before(substring-after($line, '"'), concat('"', $fs)) != ''">
|
||||
<xsl:value-of select="substring-before(substring-after($line, '"'), concat('"', $fs))"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:choose>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user