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

whitespace handling and the XSL FO vocabulary

Subject: whitespace handling and the XSL FO vocabulary
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Wed, 4 Nov 1998 23:46:20 +0800
xsl fo whitespace
My formatting object to PDF translator (FOP) by default collapses multiple
whitespace into a single space. After re-reading the spec, it appears this
should not be the default behaviour (although can be specified by a
input-whitespace-treatment="collapse", a property listed in the alphabetical
list but not included in any description of individual FOs).

Should FOP, by default, still convert linefeeds into spaces? (Surely this
should be the default behaviour and preservation of linefeeds in character
data should be a marked case)

And how should FOP handle whitespace (in particular linefeeds) at the start
and end of formatting objects?

For example, should

<fo:block>
blah blah
</fo:block>

be treated differently from:

<fo:block>blah blah</fo:block>

Suggestions welcome.

James
--
James Tauber / jtauber@xxxxxxxxxxx / www.jtauber.com
Associate Researcher, Electronic Commerce Network
Curtin University of Technology, Perth, Western Australia

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

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.