xsl-list
[Top] [All Lists]

Re: XSL-FO insert a blank line

2004-12-09 03:04:47
Ranjan K. Baisak:
I am using <fo:block/> to insert blank line. This does
not seem to work properly. As I am totally new to
xsl-fo, can anybody suggest me how to insert a blank
line?
<fo:static-content flow-name="xsl-region-after">
              </fo:block>
              <fo:block/>
              <fo:block/>
              <fo:block/>
              <fo:block/>
              <fo:block font-family="Helvetica" font-size="10pt"
                      text-align="left">
                      XYZ Corporation
              </fo:block>
      </fo:static-content>

Hi Ranjan,

XSL FO is good at expressing exactly what you need, just say it:

<fo:block linefeed-treatment="preserve">
</fo:block>

This is one blank line. For three blank lines, just add the lines:

<fo:block linefeed-treatment="preserve">


</fo:block>

David Tolpin

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--