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

Re: pre-formatted text in FO terminology


Subject: Re: pre-formatted text in FO terminology
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Sun, 1 Aug 1999 23:25:52 +0800

----- Original Message -----
From: Michel Goossens <Michel.Goossens@xxxxxxx>


> How can I express the fact that a <fo:block> area
> contains pre-formatted text (that does not have to
> be formatted, but output honoring the line-breaks,
> multiple spaces, etc.)?

<fo:block wrap-option="no-wrap"
white-space-treatment="preserve">...</fo:block>

This is supported in FOP from 0.9.0.

NOTE: The April spec says that white-space-treatment="preserve" is default
but this is a mistake and FOP takes the default to be "collapse".

James
--
James Tauber / jtauber@xxxxxxxxxxx / www.jtauber.com
Maintainer of : www.xmlinfo.com,  www.xmlsoftware.com and www.schema.net



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



Current Thread