This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: {REPOST}{XSL-FO}{[fo:table} how to repeat table header on page break ???


"Babar Ali" <babarali@fsd.paknet.com.pk> wrote:
> If the table extends to next page, we wanted to repeat the table header... 
> Any idea how it can be done 

Declare the table header ro in a fo:table-header element:
  <fo:table>
    <fo:table-header>
      <fo:table-row>
         <fo:table-cell border-style="solid" border-width="1pt">
           <fo:block text-align="center">Foo</fo:block>
         </fo:table-cell>
         <fo:table-cell border-style="solid" border-width="1pt">
           <fo:block text-align="center">Bar</fo:block>
         </fo:table-cell>
      </fo:table-row>
    </fo:table-header>
    <fo:table-body>
	... body rows ...

Uhhh, BTW:
> ...@fsd.paknet.com.pk
                     ^^
I hope this is not on my country's embargo list :-)

HTH
J.Pietschmann

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]