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 <foage-number/> into a format that an <xsl:if> can do anything with it. Any assistance would be much appreciated!
[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 <foage-number/> into a format that an <xsl:if> can do anything with it. Any assistance would be much appreciated!