diff options
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/csv2xml.xslt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt index eb4c8761e..ee8b7556e 100644 --- a/xslt/csv2xml.xslt +++ b/xslt/csv2xml.xslt @@ -194,7 +194,9 @@ <xsl:value-of select="substring-before($line,$fs)"/> </xsl:when> <xsl:otherwise> - <xsl:value-of select="$line"/> + <xsl:if test="substring-after($line, $fs) = ''"> + <xsl:value-of select="$line"/> + </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:otherwise> |