Reprinting table headers for tables spanning multiple pages
Staples Walter L Contr AETC/XPPP <[email protected]> Thu, 1 Aug 2002 14:57:18 -0500
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <84F24F55A7CED41195CF00034708EB4B047ADED6@fstymx23.randolph.af.mil> |
I have created a table filled with personnel information, basically a Points
of Contact report. All the data is actually displayed, but the problem is I
cannot get the table header to reprint on the subsequent pages. Any ideas
on how to get this done? Below is currenlty how the table is drawn up.
<fo:table table-omit-header-at-break="false">
<fo:table-column column-number="1" column-width="1.5in" />
<fo:table-column column-number="2" column-width="1in" />
<fo:table-header>
<fo:table-row text-align="center"
background-color="#CCBB22">
<fo:table-cell border-style="solid"
border-width="0.2mm">
<fo:block font-family="Times New Roman"
font-size="12pt">
Last Name
</fo:block>
</fo:table-cell>
<fo:table-cell border-style="solid"
border-width="0.2mm">
<fo:block font-family="Times New Roman"
font-size="12pt">
First Name
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-header>
<fo:table-body>
<xsl:for-each select="UserList">
<xsl:for-each select="User">
<xsl:sort select="@lastname"/>
<xsl:sort select="@firstname"/>
<fo:table-row break-before="page">
<fo:table-cell>
<fo:block font-family="Times New Roman"
font-size="12pt">
<xsl:value-of select="@lastname"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block font-family="Times New Roman"
font-size="12pt">
<xsl:value-of select="@firstname"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:for-each>
</xsl:for-each>
</fo:table-body>
</fo:table>