W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2002

displaying carriage return with xsl:fo

From: Jean-louis GENTINNE <Jean-louis.GENTINNE@CHU.ULG.AC.BE>
Date: Wed, 25 Sep 2002 10:29:18 -0400 (EDT)
Message-ID: <3D91C776.A6D47F28@CHU.ULG.AC.BE>
To: www-xsl-fo@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT