W3C home > Mailing lists > Public > www-xsl-fo@w3.org > April 2003

Re: How to keep table title and table content together on the same page.

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Sat, 05 Apr 2003 12:55:01 -0500
Message-Id: <>
To: www-xsl-fo@w3.org

At 2003-04-05 12:25 -0500, rajeev.agarwal@jpmorgan.com wrote:
>I want to keep the title of the table and the table that follows together
>on the same page. I cannot use table header for this purpose as then the
>title will get repeated on the next page. Is there any mechanism of doing

The keep-with-next= property applied to the title block would keep it on 
the same page as the following area, which is your table.

BTW, a table caption is different than a table header ... if you *wanted* 
the title on each page of the table, you could have used the 
<table-caption> and have it different than the <table-header>.  You can 
specify on which side of the table the <table-caption> is rendered.

I hope this helps.

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

Upcoming hands-on courses:   Europe (XSLT/XPath):    May  5, 2003
-                            Europe (XSL-FO):        May 16, 2003
- (XSLT/XPath and/or XSL-FO) North America:      June 16-20, 2003

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
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/f/bc
Received on Saturday, 5 April 2003 12:55:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:27 UTC