Is it posible to insert a new line in a xml tag to change the view of a PDF file
For example if I have the following xml tag: rtcontactoProveedor:063310 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:063310 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]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
Use fo:block/ Juan Manuel Bellina wrote: For example if I have the following xml tag: rtcontactoProveedor:063310 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:063310 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]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
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: rtcontactoProveedor:063310 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:063310 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]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
Maestro You mentioned that the use of fo:block white-space-collapse=false preserves the line breaks in the text. This is presicely the behavior I actually want in my PDF processing. If this is non-conformant as you mentioned what should I do to maintain the linebreaks / newline feed present in the database ? Thanks Manoj The Web Maestro [EMAIL PROTECTED]To: [EMAIL PROTECTED] mail.comcc: Subject: Re: Is it posible to insert a new line in a xml tag to change the view of a 02/11/2005 12:24 PDF file PM Please respond to fop-user 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: rtcontactoProveedor:063310 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:063310 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
On Feb 11, 2005, at 1:27 PM, [EMAIL PROTECTED] wrote: Maestro You mentioned that the use of fo:block white-space-collapse=false preserves the line breaks in the text. This is presicely the behavior I actually want in my PDF processing. If this is non-conformant as you mentioned what should I do to maintain the linebreaks / newline feed present in the database ? Thanks Manoj I'm not certain how to handle that... Perhaps another listie might know more about that. I was including it since it's part of the info on that page. :-) But since it 'works' in fop-0.20.5, you can always continue to use fop-0.20.5 even after fop-1.0 is released. Either that, or there might be some other solutions in XSL-FO you could find. I think the keyword you should look at is 'white-space' (white-space-preserve, white-space-collapse, etc.). 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]