I have an xml file containing a series of names, first name and last
name. My desired outcome is to create an xsl file that will generate a
comma delimitated text file containing these names. I need first name/
comma/ last name /carriage return. The first name comma last name work
fine. Can't get the carriage return.
Any suggestions would be helpful.
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:for-each select="list/name">
<xsl:value-of select="fname"/>
<xsl:text>,</xsl:text>
<xsl:value-of select="lname"/>
<xsl:text>,</xsl:text>
<xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
My problem is the 
 carriage return. I think this should work, but
no such luck.
I'm using Instant Saxon to parse the document.