Re: [xsl] Line break in Text output ??

Subject: Re: [xsl] Line break in Text output ??
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 20 Jun 2003 00:19:11 +0100
just output a newline character
<xsl:text>
</xsl:text>
for example will output one new line and
<xsl:template match="222">
1
2
3
</xsl:template>
will output 123 all on separate lines. Actually the XSLT1 spec does
perhaps
suggest that the above should always make lines ending with ^J (Unix
convention) If you need ^M^J pairs for exanple you might want to use
 &#13;&#10;
rather than a newline.

David

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread