I think what Juan wants to use is white-space-collapse="false":

====
http://xml.apache.org/fop/fo.html#fo-preformat
Preformatting Content

Sometimes it is desirable to retain linebreaks and hard spaces, and to get preformatted text to pass through without being changed. The XSL-FO specification provides some properties for this: white-space-collapse and linefeed-treatment. In FOP, use white-space-collapse="false" on an enclosing block.

Warning
Due to a bug in current versions of FOP, setting white-space-collapse="false" will also preserve line breaks in the text. Do not rely on this behavior, as it is non-conformant and will be changed.
====


Cheers!

Web Maestro Clay

On Feb 11, 2005, at 10:52 AM, Yakov Shafranovich wrote:
Use <fo:block/>

Juan Manuel Bellina wrote:
For example if I have the following xml tag:
<rtcontacto>Proveedor:0000063310
O. ARIAS Y CIA S.A.
Contacto:
PILCOMAYO 848
(1824) -LANUS OESTE
BUENOS AIRES - ARGENTINA
Fax: 4209-2556</rtcontacto>
I want to show in my PDF file with a new line between
"O. ARIAS Y CIA S.A." and "Contacto:" but when I see
the pdf file I see:
"Proveedor:0000063310 O. ARIAS Y CIA S.A. Contacto:
PILCOMAYO 848 1824) -LANUS OESTE BUENOS AIRES -
ARGENTINA Fax: 4209-2556"
How can I insert a new line to make the view diferent
as in the xml tag.
Thank you,
Juan M.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.


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



Web Maestro Clay -- <[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/> My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet


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



Reply via email to