displaying carriage return with xsl:fo

Hi All

How is it possible to display, with xsl-fo, a text containing carriage
return characters
without carriage return characters be replaced by a space.

For example, if in a xml file we have:
<truc>How is it possible to display, with xsl-fo, <CR>a text
containing</truc>

how to render it with xsl:fo as:

How is it possible to display, with xsl-fo,
a text containing

As I have experienced it, <fo:block><xsl:value-of
select="truc"/></fo:block> does not work:
<CR> is replaced by a space character; it is rendered as

How is it possible to display, with xsl-fo, a text containing

Many thanks

Received on Friday, 27 September 2002 03:27:12 UTC