title: Page break inside table XSL-FO
body: <p>I have an XSL-FO stylesheet for a table.</p>
  
  <pre><code>&lt;fo:page-sequence master-reference="defaultPage"&gt;
    &lt;fo:flow flow-name="xsl-region-body"&gt;
      &lt;fo:table table-layout="fixed" width="100%"&gt;
        &lt;fo:table-column column-width="9pt"/&gt;
        &lt;fo:table-column column-width="30pt"/&gt;
        &lt;fo:table-column column-width="150pt"/&gt;
        &lt;fo:table-header&gt;
          &lt;fo:table-row&gt;
            &lt;fo:table-cell&gt;
              &lt;fo:block&gt;&lt;xsl:text&gt;Column 1&lt;/xsl:text&gt;&lt;/fo:block&gt;
            &lt;/fo:table-cell&gt;
            &lt;fo:table-cell&gt;
              &lt;fo:block&gt;&lt;xsl:text&gt;Column 2&lt;/xsl:text&gt;&lt;/fo:block&gt;
            &lt;/fo:table-cell&gt;
            &lt;fo:table-cell&gt;
              &lt;fo:block&gt;&lt;xsl:text&gt;Column 3&lt;/xsl:text&gt;&lt;/fo:block&gt;
            &lt;/fo:table-cell&gt;
          &lt;/fo:table-row&gt;
        &lt;/fo:table-header&gt;
        &lt;fo:table-body&gt;
          &lt;fo:table-row&gt;
            &lt;xsl:apply-templates select="rbrOcjena"/&gt;
            &lt;xsl:apply-templates select="sifPred"/&gt;
            &lt;xsl:apply-templates select="nazPred"/&gt;
          &lt;/fo:table-row&gt;
        &lt;/fo:table-body&gt;
      &lt;/fo:table&gt;
    &lt;/fo:flow&gt;
  &lt;/fo:page-sequence&gt;
  </code></pre>
  
  <p>The table can have many rows, so I'd like to break it on new page when it comes to the end of current, when generating PDF. Also, I would like to repeat table header on new page, if that's possible. What attributes should I put in the table tag to make it so?</p>
  
  <p>Thanks!</p>