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

Re: Linefeed-treatment in fop 0.20.4

Subject: Re: Linefeed-treatment in fop 0.20.4
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 20 Nov 2002 09:30:05 +0200
fop linefeed treatment
RShonk@xxxxxxxxxxxxx wrote:
Can anyone tell me if there is an easier way to do this? My NOTE_TEXT node
is returned from an Oracle blob object which contains line-feed characters
and is multi-line. When rendering the linefeed '\n' was ignored and
everything ended up on one line. I tried to use linefeed-treatment and
white-space-treatment = "preserve", but these are not yet implemented in
fop 0.20.4
You right, it's not implemented yet. There is a dirty trick you can use - white-space-collapse implmentation wrongly preserves linefeed.
But don't forget to add linefeed-treatment and white-space-treatment for compatibility anyway.
<fo:block white-space-collapse="false" linefeed-treatment="preserve" white-space-treatment="preserve">...


--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


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.