This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: forcing a carriage return, line feed
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] forcing a carriage return, line feed
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 18 Sep 2001 13:27:32 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> In which way do you force CR/LF? What's the better, nicer,
> safer method?
>
I tend to use <xsl:text>
</xsl:text>.
Some people have recommended putting an XML entity in the stylesheet
<!ENTITY NL "<xsl:text>
</xsl:text>">
and then you can just write "&NL;" when you need a newline.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list