W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2011

Re: Adding continued to table header if goes more than one page

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Mon, 31 Jan 2011 15:36:00 -0500
Message-Id: <7.0.1.0.2.20110131152631.024008f8@wheresmymailserver.com>
To: "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
At 2011-01-31 13:57 -0600, Mario Madunic wrote:
>I‚€™m trying to have the word ‚€˜continued‚€™ 
>added to a table header when it spans more than 
>one page. How might this be accomplished. I‚€™m using AHF 5.

By using <retrieve-table-marker> in the table header, something like:

   <retrieve-table-marker retrieve-class-name="cont"/>

In your table, start with a zero-height row 
first, and put a blank marker in that first row. 
Then have a zero-height row next, and put the 
continuation string in that marker.

   <table-body>
     <table-row>
       <table-cell>
         <marker class-name="cont"/>
         <block/>
       </table-cell>
     </table-row>
     <table-row>
       <table-cell>
         <marker class-name="cont">continued</marker>
         <block/>
       </table-cell>
     </table-row>

Then put all of your rows out.

The header on the first page will catch the first 
marker, and the header on every other page will catch the second marker.

I hope this helps.

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


--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
Received on Monday, 31 January 2011 20:36:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 January 2011 20:36:35 GMT