Re: Blank lines

At 2002-10-18 14:13 -0400, Sharmila Pandith wrote:
>How do we represent blank lines in XSL:FO?

I often do it by spacing down and placing an empty block:

   <block>This is a test</block>
   <block space-before="12pt"/>
   <block>This is another test</block>

>Would this be legal?
>fo:block>
><fo:leader line-height="12pt" />
></fo:block>

Yes, but it wouldn't give what you wanted ... put the line height on the 
block (since that is what is creating the line the leader is going on):

   <block line-height="12pt"><leader/></block>

I hope this helps.

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


--
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 (F:-0995)
ISBN 0-13-065196-6                     Definitive XSLT and XPath
ISBN 0-13-140374-5                             Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1             Practical Formatting Using XSL-FO
Next public training:          2002-12-08,2003-02-03,06,03-03,06

Received on Friday, 18 October 2002 15:17:20 UTC