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]
Other format: [Raw text]

RE: Avoid outputting newlines in output method="text"


> 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>&#xa;</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


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