This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Problem with fop nesting tables


I seem to be having a problem in FOP nesting tables as follows:

<fo:table>    <!-- Outer Table -->
  <fo:table-column>
  ...
  <fo:table-body>
      <fo:table-header>
         <fo:table-row> ...
      </fo:table-header>
      <fo:table-row keep-together="always">
         <fo:table-cell>
            <fo:block>
                <fo:table>    <!-- Inner Table -->
                  <fo:table-body>
                    <fo:table-header> <!-- this gives error -->
                        ...
                    </fo:table-header>
                    <fo:table-row>
                        ...
                    </fo:table-row>

This xsl structure works. However as soon as I put in a table-header in the
inner table I get the following error:

[java] [ERROR] org.apache.fop.apps.FOPException: A table body must be
child of fo:table, not fo:table-body

Does anyone know if I am doing something wrong or is this a FOP bug?

Vincent


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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