According to Frederick Evers on Thu, Nov 01, 2001 at 12:34:08PM -0800:
> You can do this by using "
" in the source XML, like this: 
> <textElement>Some&#xD;text&#xD;with&#xD;newlines&#xD;here.</textElement>
> This will put line-breaks into the fo file. 
> 
> Then, in the <fo:block> say 
> <fo:block white-space-collapse="false">Some
> text
> with 
> newlines
> here.</fo:block>
> 
> FOP will NOT collapse the whitespace, and leave the linebreaks to appear in
> the PDF. It works!

Just the kind of thing I am looking for - thanx - hope it works
in jfor the fo2rtf processor I use.

-- 
Eric Smith - currently xalan and fop on linux

Reply via email to