This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Putting a carriage return/line feed for output
- To: xsl-list at mulberrytech dot com
- Subject: Re: Putting a carriage return/line feed for output
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Fri, 09 Jun 2000 09:28:20 -0400
- CC: Nuri Besen <nb_news at hotmail dot com>
- Organization: Department of Engineering Science, The University of Auckland
- References: <20000609104958.89628.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
There are many possible ways:
Inside an <xsl:text> element, whitespace is significant.
<xsl:text>
</xsl:text>
Or use the appropriate carriage-return/line-feed characters
for your platform.
<xsl:text>
</xsl:text>
To make this more readable, you could use a variable
<xsl:variable name="new_line" select="'
' />
<xsl:value-of select="$new_line" />
Hope this helps.
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list