Hi Christian,

try to use the fo:block attribute white-space-collapse="false" for the whole
code example in one block. Then you will get the same behavior as you use
<pre> in HTML.

Wolfgang

Wolfgang Duttle
ZF Friedrichshafen AG
Bereich I   Abt. IV
88038 Friedrichshafen
Tel.: 07541/77-7656  Fax: -907656
email: [EMAIL PROTECTED]


-----Ursprüngliche Nachricht-----
Von: Beer, Christian [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 14. September 2001 14:41
An: Fop-liste (E-Mail)
Betreff: How to do <pre> in PDF...


Hi there!

I have a question:
I am developing a XSL, that transforms a XML to PDF using FOP. This shall
include some
code-samples included like one can do using "<pre>" in HTML. 

How can I then convert the newlines into <fo:block>s??

Christian

__________________________________________________
DIRON Wirtschaftsinformatik GmbH & Co. KG
Christian Beer          ([EMAIL PROTECTED])
Daimlerweg 39-41        Tel. : +49(251)979-200
48163 Muenster          Fax  : +49(251)979-2020
Germany                 Email: [EMAIL PROTECTED]  

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

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

Reply via email to