Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSL-FO dynamic table headers

Status
Not open for further replies.

JavaKat

Programmer
Jun 27, 2002
11
US
I'm building an FO stylesheet to generate a PDF using FOP. I have a table that could appear on any page (depending on flow), and could be long enough to break across pages. I need the header to change depending on whether it's the first time the header prints, or it's a carryover header, i.e:
[tt]
+------+------+------+
| MY TABLE |


+------+------+------+
| blah | blah | blah |
+------+------+------+
| blah | blah | blah |
+------+------+------+

-----<page break>-----
+------+------+------+
| MY TABLE CONTINUED |


+------+------+------+
| blah | blah | blah |
+------+------+------+
| blah | blah | blah |
+------+------+------+
| Total: blah |
+--------------------+

[/tt]
This is driving me nuts. I can't get the <fo:page-number/> into a format that an <xsl:if> can do anything with it. Any assistance would be much appreciated!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top