Thanks for your response. I see you are a big contributor to this group so I
appreciate your time. Unfortunately, despite trying your suggestions I am
still loosing my white space. I certainly don't want you to feel in any way
obligated to respond, but should you have a thought, particularly as regards
the connection between the loss of white space and the ampersand entity
Oh, thanks for pointing me toward the book. It really does look good, and
the electronic format is eminently sensible, so I'll be suggesting we grab a
From: G. Ken Holman [mailto:gkholman@...
Sent: Tuesday, 10 September 2002 11:45 AM
Subject: Re: [XSL-FO] missing white space and a strange relationship to the
At 2002-09-10 10:21 +1000, Omilian, Alex wrote:
> I need to preserve the original formatting so I render this data in a
>mono-space font, which works fine 90% of the time as follows:
><xsl:preserve-space elements="components1 components2 components3
>components4 components5 components6 components7 components8
>components9 components10 components11 components12" />
This is preserving the space in the XSL-FO file but the processor is still
acting on the space.
>Anyone got a suggestion?
Check on page 27 of the free download of the preview excerpt of our
electronic book "Practical Formatting Using XSL-FO" (follow the top "Book
Sales" link on the home page noted below). You'll see I use:
<block linefeed-treatment="preserve" white-space-collapse="false"
There is also the white-space= shorthand, but a processor is not obliged to
support shorthand properties. When you find it in the property annex on
page 195, you can click on the properties and be guided to their individual
descriptions, or to the spec itself in a browser window. In this way you
can use the free preview excerpt as a way of navigating the actual
For those with the entire book page 91 is titled "Preserving white space".
I hope this helps.
Upcoming hands-on in-depth Europe: Sep 18-Sep 20,2002
XSLT/XPath and XSL-FO North America: Sep 30-Oct 4,2002
G. Ken Holman mailto:gkholman@...
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training: 2002-09-11,13,18,19,30,10-03,12-08
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/