An empty block acts as a line break so you can do this:

<fo:block>
        Joghn Doe<fo:block/>
       123 mary kay st
<fo:block>

or maybe this if FOP supports it:

<fo:block linefeed-treatment="preserve">
        Joghn Doe
       123 mary kay st
<fo:block>

Visual Programming Ltd mail PO Box 22-222, Khandallah, Wellington, New
Zealand site Level 2, 2 Ganges Road, Khandallah, Wellington, New Zealand
phone +64 4 479 1738 fax +64 4 479 1294 web http://www.xmlpdf.com
----- Original Message ----- 
From: "Subbiah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 01, 2004 2:35 PM
Subject: Simple q regarding breaks in XSL Fo


> This is my day 2 at FOP , I am trying to make an XSL with the similar
> output. I had a question regading breaks similar to <br> in HTML
>
> Suppose I want the following output
>
> John Doe
> 123 mary kay Street
>
> 1. Do I have to use 2 blocks to get the ouptut ?
>   <fo:block>Joghn Doe</fo:block>
>   <fo:block>123 mary kay st</fo:block>
>
> Or do I put it in a table as 2 rows .
>
>
> advise
>
> regards,
> raman
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to