Re: Line-breaks in text blocks

Bertrand Delacretaz <[email protected]> Mon, 15 Jul 2002 09:59:52 +0200
Newsgroups gmane.text.xml.jfor.general
Organization codeconsult
Message-ID <[email protected]>
Hi Kurt,

I don't think you can currently use a single character to force line-breaks 
in jfor - you need to generate a block with a single non-breakable space, for 
example:

<fo:block>&#160;</fo:block>

This can certainly be done in XSLT by splitting your strings at the position 
of line-breaks and outputting blocks as required. You might then also want to 
use the inherit-attributes-xsl transform described in 
http://sourceforge.net/forum/forum.php?forum_id=193748
as otherwise creating new blocks might cause loss of formatting attributes.

-Bertrand


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf