Re: <br> in fo?

At 2002-06-20 13:31 +0200, Julia wrote:
>I am an "old" html-coder, now confronted with fo. I am really doing
>well, but I can't find the equivalent of <br /> in fo (I simply need a
>new line!)...

Just use <block/> as the equivalent of a <br>.

I've done this in multi-line headings, or figure and caption combinations.

For example:

    <block text-align="center" ..blah.. ..blah... >
       <external-graphic .....>
       <block/>
       Caption text goes here
    </block>

A block breaks the block-progression-direction of the flow, so an empty 
block has the same behaviour that is triggered in HTML as a <br>.

I hope this helps.

........... Ken


--
Upcoming: 3-days XSLT/XPath and/or 2-days XSL-FO:Sep 30-Oct 4,2002

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0  +1(613)489-0999 (Fax:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-07-1                Practical Formatting Using XSLFO
XSL/XML/DSSSL/SGML/OmniMark services, books (electronic, printed),
articles, training (instructor-live,Internet-live,web/CD,licensed)
Next public training:                 2002-08-05,26,27,09-30,10-03

Received on Thursday, 20 June 2002 08:53:50 UTC