[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Putting a carriage return/line feed for output


Subject: Re: Putting a carriage return/line feed for output
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Fri, 09 Jun 2000 09:28:20 -0400

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>&#xA;</xsl:text>

To make this more readable, you could use a variable

<xsl:variable name="new_line" select="'&#xA;' />

<xsl:value-of select="$new_line" />

Hope this helps.

-- 
Warren Hedley


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



Current Thread