[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Blank line with XSL-FO

Subject: Re: Blank line with XSL-FO
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Wed, 29 Jan 2003 10:51:14 +0200
xsl fo blank lines
Mukul wrote:

I am writing a XSL-FO stylesheet to display a report
from XML data. I have to write a header, footer and
body area of report. The report header is of 3 lines
followed by body(which will display actual records).

I am using <fo:static-content
flow-name="xsl-region-before"> to display header
content, and <fo:flow flow-name="xsl-region-body"> to
display report data.

The 1st two lines of header display some text, and
*the 3rd line of header must be blank*.

I am facing problem to specify the blank line of
header. I have specified fo:region-body
margin-top="20mm" (in fo:simple-page-master)to leave
space between header and body.


Is there a better way to specify blank line in header,
which will act as seperator with body? I do not wish
to specify fo:region-body margin-top="20mm" for this
purpose..

What's wrong with it? Don't forget regions can overlap so if don't provide enough space for region-before it'll overlap region-body. Alternatively consider using fo:table with fo:table-header and fo:table-body to get rid of overlapping, because table body never overlaps table header, so placing 3 lines in a header would be enough. You can guarantee empty line by using line separator character followed by fo:leader for instance.
Line of text &#x2028;<fo:leader/>


--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.