Re: Blank lines

"G. Ken Holman" <[email protected]>
Newsgroups gmane.text.xml.xsl.general
Message-ID <[email protected]>
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:[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.