[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLFO White Space being stripped even with collaps

Subject: Re: XSLFO White Space being stripped even with collapse setto false
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 12 Sep 2002 22:37:42 +0200
collaps online
Kloskowski,Matthew wrote:
I want to preserve the white space in my XSL-FO stylesheet.  I am using
linefeed treatment set to preserve, white space set to preserve, and white
space collapse set to false.  It is working fine except for one thing.  When
a line begins with white space it seems to strip it all and start my text
flush left.  If i put one character at the beginning then it will preserve
it fine but I cant do that.  Any ideas?  Thanks.

There is an obscure property described here: http://www.w3.org/TR/xsl/slice7.html#suppress-at-line-break which could cause spaces around line breaks to disappear despite any other settings. Actually, the spec is a bit fuzzy with this regard, because the usage of the term "line break" leaves still room for interpretation. I'd guess setting suppress-at-line-break="false" on the surrounding block is a cure for this unwanted phenomenom.

J.Pietschmann


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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.