[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Tables within table.

Subject: Tables within table.
From: Nitin.Jain@xxxxxxxxxxxxxxx
Date: Wed, 27 Feb 2002 17:38:30 +0530
tables within tables
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.