Substitute or implementation of linefeed-treatment

2002-10-24 Thread Raimund Kammering
Hello,

sorry if I missed some discussions in case that this topic has
already been addressed - but I haven't been listening to FOP list
for some months.
So to come to the point: I need to format a document and conserve
the line breaks as they are delivered by the parser. So I added
a linefeed-treatment=preserve to the fo:block but FOP complained
that the linefeed-treatment is not supported up till now (I am running
FOP 0.20.3)?!
Is there an easy solution to my problem?! Any help is welcome.

Regards Raimund

PS.: I nearly don't want to ask - but is there anything new concerning
the keep-with handling - as I said I have been away for some time???
--
DESY -MVP-
Notkestrasse 85
D-22603 Hamburg
Tel.: +49 40 8998 -4903
e-mail: [EMAIL PROTECTED]


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




Re: Substitute or implementation of linefeed-treatment

2002-10-24 Thread J.Pietschmann
Raimund Kammering wrote:

So to come to the point: I need to format a document and conserve
the line breaks as they are delivered by the parser. So I added
a linefeed-treatment=preserve to the fo:block but FOP complained
that the linefeed-treatment is not supported up till now (I am running
FOP 0.20.3)?!


Try white-space-collapse=false, which also preserves runs of white
space. If this isn't desirable, replace your line feed characters with
the line separator character U+2028, in XSLT
 translate($string,#xA,#x2028)


PS.: I nearly don't want to ask - but is there anything new concerning
the keep-with handling - as I said I have been away for some time???


Just search the archive.

J.Pietschmann


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