On Tuesday 13 February 2007 21:52, Gregan, Miroslav wrote:
> Thanks you for your answers
>
> Actually I afraid I did not ask my question clearly enough.
> The @value which is the content of an XML File's element which
> contains a String.
> This String has to be formatted (a little bit if possible :-) ) with
> new lines.
> So that the text:
>
> Mister T"NewLineChar"Hannibal Smith"NewLineChar"Looping
>
> Where "NewLineChar" should be the expected character
>
> After rendering FOP will look like in PDF format to:
>
> Mister T
> Hannibal Smith
> Looping
>
>
> Is it possible? Or should I find a way to use multiple blocks?
>
As mentioned in previous responses you need to add the linefeed 
characters to the value. However, in addition you need to set the 
property  linefeed-treatment="preserve" on the enclosing fo:block 
otherwise the linefeeds in the text will be treated like / converted to 
spaces and don't generate a line break.

> Thank you.
>
> Miroslav
>
>
Manuel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to