Hi Philippe,

I think perhaps the linefeed-treatment='preserve' property on the
fo:block may be what you require.
See  http://www.w3.org/TR/2006/REC-xsl11-20061205/#linefeed-treatment
for more detail.

I hope that works for you.

Pete

On Fri, Jan 7, 2011 at 10:02 AM, Philippe Pithon <ppit...@sigal.fr> wrote:
> Hi,
> A little problem with FOP 1.0 (it's works with FOP 0.20.5)
> if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result
> Any ideas ?
> Philippe Pithon
>
> XML :
> ------
> <DESIGNATION>line 1 (0A)
> line 2 (0A)
> line 3 (0A)
> </DESIGNATION>
>
> XSL :
> ------
> <fo:block color="#000000" font-family="Helvetica" font-size="10px"
> hyphenate="true" language="fr" text-align="left"
> white-space-collapse="false">
> <xsl:value-of select="child::DESIGNATION"/>
> </fo:block>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to