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

Code:
<xsl:output method="text" encoding="UTF-8" version="1.0"/>
with the '& #13;' and '& #10;' there is no space in the middle
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>