This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Avoid outputting newlines in output method="text"
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 10 Sep 2002 18:04:52 +0100
- Subject: RE: [xsl] Avoid outputting newlines in output method="text"
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I want to control the number of newlines output in text mode.
> I want one newline per paragraf. How would I go about doing that?
There are two ways of getting new lines in the output: they can come
from the stylesheet, or from the source document.
Often the problem is to AVOID copying new lines from the source
document.
Outputting new lines from the stylesheet is easy:
<xsl:text>
</xsl:text>
Beyond that, you need to describe your transformation in more detail.
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list