Inserting 'NewLine' in output
The XSLT I'm working on is outputting to a flat text file (actually, it's a csv file). But I need to put line breaks at specific locations.
I know I'm forgetting something fundamental here, but I guess that's why I'm asking; I've forgotten.
I've tried setting a variable:
<xsl:variable name="nl" select="x0A/>
then using it
<xsl:value-of select="$nl"/>
or
<xsl:text>&#0A;</xsl:text> (the forum sw is eating my ampersand)
but that is apparently not the right way to do it.
Any clues on where I can find the answer?
I'm using Saxon8, I've got XPath 2.0 and XSLT 2.0 as well as Worx's Professional XML. But I'm not locating the solution.
------------------------
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Michael Hare
__________________
------------------------
Keep Moving Forward
GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
Michael Hare
|