From: G. Ken Holman (gkholman@CraneSoftwrights.com)
Date: Wed Jan 14 2004 - 16:09:55 PST
At 2004-01-16 10:37 +1100, Kevin Yank wrote:
>In XEP 3.7.1 (and possibly other recent versions of XEP), the attribute
>white-space-collapse="false" does not seem to work when applied to an
><fo:block>.
I disagree.
>Please find attached a sample FO document that demonstrates this. It
>contains two indented code listings, both of which get rendered
>non-indented when I use XEP 3.7.1 to output to PDF.
Ummmmm .... when I add white-space-treatment="preserve" everything seems to
work fine ... I don't think XEP is broken, I think the problem is in your
stylesheet.
In my XSL-FO training I tell students about four properties available to do
listings, not just the three you are using in your code:
linefeed-treatment="preserve"
white-space-collapse="false"
white-space-treatment="preserve"
wrap-option="no-wrap" (this one is optional depending on what you want
to do at the end of a line)
I hope this helps.
................ Ken
-- North America (Washington, DC): 3-day XSLT/2-day XSL-FO 2004-03-15 Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details G. Ken Holman mailto:gkholman@CraneSoftwrights.com Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed Jan 14 2004 - 16:14:48 PST