You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Tatiyana <ta...@egr.msu.edu> on 2012/02/10 20:42:13 UTC
fop 1: linefeed-treatment="preserve" is not working
Hi,
We switched from fop 0.94 to fop 1 recently and having the following
problem:
linefeed-treatment="preserve" does not work in the code it used to work
in fop 0.94
<fo:block linefeed-treatment="preserve"
white-space-collapse="false">
<xsl:value-of select="@something"/>
</fo:block>
Could you please help to figure out how to fix it?
Thank you.
Tatiyana.
--
View this message in context: http://old.nabble.com/fop-1%3A-linefeed-treatment%3D%22preserve%22-is-not-working-tp33302965p33302965.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fop 1: linefeed-treatment="preserve" is not working
Posted by Pascal Sancho <pa...@takoma.fr>.
Hi,
FOP 1.0 works as expected.
You should look at what is output from your XSLT.
Try to produce a short XSL-FO, look inside, and feed FOP with it.
If there is something wrong, please isolate the XSL-FO snippet that
produce unexpected output, and attach it on this thread.
At XSLT stage, many things can impact your output:
- used XSLT engine (and version)
- XSLT settings (see xsl:output attributes ans other extensions)
- XML standard attributes
- etc.
Le 10/02/2012 20:42, Tatiyana a écrit :
>
> Hi,
> We switched from fop 0.94 to fop 1 recently and having the following
> problem:
> linefeed-treatment="preserve" does not work in the code it used to work
> in fop 0.94
> <fo:block linefeed-treatment="preserve"
> white-space-collapse="false">
> <xsl:value-of select="@something"/>
> </fo:block>
>
> Could you please help to figure out how to fix it?
> Thank you.
> Tatiyana.
--
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org