|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Tables within table.
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








