Re: [xsl] fo:block

Subject: Re: [xsl] fo:block
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 May 2009 10:42:08 +0100
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).

Regards,


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