[xep-support] table-header for table-body?

G. Ken Holman gkholman at CraneSoftwrights.com
Tue Jun 13 14:49:41 PDT 2006


It was brought to my attention that a simpler 
solution would be to just put each tableBody with 
its header in a nested table of the outer table 
with the common header.  I tested this and it 
works just fine ... the page break triggers the 
continuation of the inner table in the 
continuation of the outer table, thus triggering 
both table headers to be drawn on the new page.

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

At 2006-06-13 14:22 -0400, I wrote:

>At 2006-06-13 10:07 -0700, Janean Angeles wrote:
>>Hi, I’m just wondering if anyone has an idea 
>>how I might be able to create a scenario 
>>similar to having a table-header for each 
>>table-body within a table.  Basically I have a 
>>table that contains a table-header that applies 
>>to all rows and then several rows broken up 
>>into multiple sections using 
>>table-bodies.  Each table-body has an initial 
>>row that is it’s header and is formatted 
>>differently.  This is all working fine.  The 
>>piece I’m missing is when the table breaks to 
>>the next page I need the broken table-body’s 
>>‘header’ row to display again just under the 
>>table-header on the page being broken to.
>
>You will need separate XSL-FO tables for each of 
>your tableBody constructs, where the FO table 
>header is the combination of the common table 
>header and that tableBody's initial row.  When 
>the processor breaks the page, its header (the 
>combination of the common header and the specific header) get reproduced.
>
>Provided you don't do space-before= or 
>space-after= the table tops and bottoms will 
>abut and will appear seamless to the reader.


--
Registration open for UBL training:    Montréal, Canada 2006-08-07
Also for XSL-FO/XSLT training:    Minneapolis, MN 2006-07-31/08-04
Also for UBL/XML/XSLT/XSL-FO training: Varo,Denmark 06-09-25/10-06
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman at CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list