- From: G. Ken Holman <gkholman@CraneSoftwrights.com>
- Date: Wed, 08 Oct 2003 12:42:02 -0400
- To: www-xsl-fo@w3.org
At 2003-10-08 20:48 +0530, Aananth.S wrote:
> In the first page, I am going to start displaying a table.lets say
> the first page can accomodate 20 rows of this table and there are 30 rows
> to be displayed.Now as the remaining 10 rows spill over to the next page,
> I have to display the table header at the start of the next page(and in
> any subsequent page until rows are pushed over to those pages).
Define your header inside your table using the <table-header> construct:
<table>
<table-header>
...
</table-header>
<table-body>
...
</table-body>
</table>
>My question is ... How do i find out that the table has crossed the first
>page and spilled over to the next page?
It is not your responsibility to do this detection.
>Keeping the table header as a fo:static content is not an option as ther
>are other things to be displayed in the region-before.
Yes, this makes sense.
The designers have given us the <table-header> construct in order that the
rows of that construct be repeated at the top of any portion of the table
that appears on any page.
I hope this helps.
............. Ken
--
Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13
Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-11-??
Instructor-led on-site corporate, government & user group training
for XSLT and XSL-FO world-wide: please contact us for the details
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-11-X Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners: http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Received on Wednesday, 8 October 2003 12:47:30 UTC