[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Using a TableHeader Vs Using the Page header in XSL:FO


Subject: Re: [xsl] Using a TableHeader Vs Using the Page header in XSL:FO
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 24 Oct 2011 07:17:06 -0400

At 2011-10-24 09:03 +0100, Vasu Chakkera wrote:
\I was trying some stuff and realized that the document headers can be
either used using the region-before or using the table-header.
The later is by not having a region-before, but define the region body
as a table with the first row as a header row. I know that the
following arguments goes for the  region before
1.region before is designed for page headers
2.there is a code separation where we can clearely see where the body
if the page is and where the header is..
3. In a page where there are no tables, you would have introduced a
table for no reason... etc...

May be some more.. I am not trying to clearely use the table header
instead of the page header, but want to know if there are any
performance benifits in the page header as opposed to the table
headers? And is there a situation where we can definitely not use a
table header ..

<page-number/> can only be rendered in <static-content> and not in <flow>.


I think that is the show-stopper. Since XSL-FO 1.1 the two are pretty similar in what they support because of the addition of table markers. There might be other nuances, but the one that jumped to the top of mind was the page number. What in this comparison is nice about table headers is their variable height (regions have fixed heights).

I hope this helps.

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


-- Contact us for world-wide XML consulting and instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal


Current Thread
Keywords
xml