In my XSLT I want to convert an XML file in to text (csv) but a problem I'm getting is that when I want to put in a Carriage Return(\r) Line Feed(\n). No matter what I try I always get \r\r\n which is causing a problem with our import app.
I've tried all of these but with no luck
with the '& #13;' and '& #10;' there is no space in the middleCode:<xsl:output method="text" encoding="UTF-8" version="1.0"/>
Code:<xsl:value-of select="IndexValue"/>,<xsl:value-of select="Action"/><xsl:text>& #13;& #10;</xsl:text>Code:<xsl:value-of select="IndexValue"/>,<xsl:value-of select="Action"/><xsl:text>& #13;</xsl:text>Code:<xsl:value-of select="IndexValue"/>,<xsl:value-of select="Action"/><xsl:text>& #10;</xsl:text>Code:<xsl:value-of select="IndexValue"/>,<xsl:value-of select="Action"/><xsl:text> </xsl:text>




Reply With Quote