[xsl] Tables within table.

Subject: [xsl] Tables within table.
From: Nitin.Jain@xxxxxxxxxxxxxxx
Date: Wed, 27 Feb 2002 17:38:30 +0530
Hi!

I am trying to have three tables in three rows (each table occupying one
cell each in each row)of a table. This table is again a cell of another
table. Having this kind of grouping doesnt renders my table. But if I
reduce one level, i.e have one table inside a cell of a table it works
fine. I am wondering whether there is a limitation of having tables within
table or is there something wrong that I am doing.

My XSL structure looks like following:

- <xsl:template match="Reports">
- <fo:table>
     + <fo:table-header>
     + <fo:table-footer>
       <fo:table-column column-width="2.5cm" />
       <fo:table-column column-width="1.75cm" />
       <fo:table-column column-width="1.0cm" />
       <fo:table-column column-width="1.75cm" />
       <fo:table-column column-width="1.75cm" />
     - <fo:table-body font-family="sans-serif" font-size="10pt">
          - <fo:table-row line-height="12pt">
               - <fo:table-cell number-columns-spanned="2"> //THIS  CELL
IS  NOT  RENDERED
                    - <fo:table>
                           <fo:table-column column-width="4.5cm" />
                         - <fo:table-row line-height="12pt">
                              - <fo:table-cell>
                                   - <fo:table>
                                         + <fo:table-header>
                                           <fo:table-column column-width
="2.5cm" />
                                           <fo:table-column column-width
="1.75cm" />
                                         - <fo:table-body font-size="10pt">
                                              + <fo:table-row line-height
="12pt">
                                           </fo:table-body>
                                     </fo:table>
                                </fo:table-cell>
                           </fo:table-row>
                         - <fo:table-row line-height="12pt">
                              - <fo:table-cell>
                                   - <fo:table>
                                         + <fo:table-header>
                                           <fo:table-column column-width
="2.5cm" />
                                           <fo:table-column column-width
="1.75cm" />
                                         - <fo:table-body font-size="10pt">
                                              + <fo:table-row line-height
="12pt">
                                           </fo:table-body>
                                     </fo:table>
                                </fo:table-cell>
                           </fo:table-row>
                         - <fo:table-row line-height="12pt">
                              - <fo:table-cell>
                                   - <fo:table>
                                           <fo:table-column column-width
="2.5cm" />
                                           <fo:table-column column-width
="1.75cm" />
                                         - <fo:table-body font-size="10pt">
                                              + <fo:table-row line-height
="12pt">
                                              + <fo:table-row line-height
="12pt">
                                           </fo:table-body>
                                     </fo:table>
                                </fo:table-cell>
                           </fo:table-row>
                      </fo:table>
                 </fo:table-cell>
               - <fo:table-cell number-columns-spanned="3"> //THIS  CELL
GETS  RENDERED
                    - <fo:table>
                           <fo:table-column column-width="1.0cm" />
                           <fo:table-column column-width="1.75cm" />
                           <fo:table-column column-width="1.75cm" />
                         - <fo:table-body font-family="sans-serif"
font-size="10pt">
                              + <fo:table-row line-height="12pt">
                              + <fo:table-row line-height="12pt">
                           </fo:table-body>
                      </fo:table>
                 </fo:table-cell>
            </fo:table-row>
     </fo:table-body>
</fo:table>
</xsl:template>




Thanks,
Nitin


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


Current Thread