This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Putting a carriage return/line feed for output


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]