[xsl] Page Wrapped Tables

Subject: [xsl] Page Wrapped Tables
From: "Manuel Reyes" <Manuel.Reyes@xxxxxxxxx>
Date: Tue, 6 Jan 2004 13:11:19 -0000
Hello all,

I am currently using XSLT, XML and Apache FOP to generation PDF's, the
problem I have encountered is that certain portions of my document
contain very large tables.  As these tables wrap over onto new pages I
would like to include the table headers on the new page.  Does anybody
know of a way of doing this?

For example :

If I had an infinitely long PDF page, the table would look like this :

Header 1 | Header 2 | Header 3
Val 1....| Val 2....| Val 3
Val 4....| Val 5....| Val 6
Val 7....| Val 8....| Val 9
To infinity...

When the page splits I would like to dynamically create the following :

Page 1
Header 1 | Header 2 | Header 3
Val 1....| Val 2....| Val 3
Val 4....| Val 5....| Val 6

Page 2
Header 1 | Header 2 | Header 3
Val 7....| Val 8....| Val 9

This table is created using a simple <table/> with a <xsl:for-each/> to
cycle through values in an XML file

Thanks in advance
Manuel

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


Current Thread