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

Re: fo:block

Subject: Re: fo:block
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 May 2009 10:42:08 +0100
Re:  fo:block
On Mon, May 11 2009 08:06:25 +0100, patrick.szabo@xxxxxxxxxxxxx wrote:
> IB4ve got a fo:block with the following attributes:
> linefeed-treatment="preserve"
> The text in the block looks like this:
> --------------------------------------
> "Test that is in the block and looks so wrong.
> It shouldnB4t be like that."
> I want it to look like that:
> -----------------------------
> "Test that is in the block and looks so wrong.
> It shouldnB4t be like that."

The 'linefeed-treatment="preserve"' is the most likely suspect, assuming
that you have line breaks in your source XML.

It would be easier to tell the cause of the problem if you posted the
actual FO markup (i.e., if you're feeding XML and a stylesheet to XEP,
feed them to a XSLT processor instead and extract from the result).  It
would be even better if you could produce a minimal FO document that
illustrates the problem and post that (since it remains possible that an
inherited property value may be part of the problem).


Tony Graham                         Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2

Current Thread


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.
First Name
Last Name
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.