This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
forcing Line breaks
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] forcing Line breaks
- From: cedric trolez <devcedric at chez dot com>
- Date: Wed, 21 Feb 2001 15:15:17 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Transforming xml into texr,
I am trying to force line breakes...
I tried different use of the <xsl:text> tag, but IE just doesn't want to
break the line...
How can I force line breaks?
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version
="1.0">
<xsl:output method="text"
encoding="iso-8859-1"/>
<xsl:template match="result">
...
<xsl:value-of select="@name"/>;
customer;
<xsl:text xml:space="preserve">

</xsl:text>...
</xsl:template>
</xsl:stylesheet>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list