|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL:FO newbie question
Khalid wrote:
>
> Can some tell me that if its possible to have netsted
> <fo:table>
> ,what I want to do is I have a deeply nested talbes structure( tables inside
> of table) and I want to mimic that using xsl:fo is it possible?if yes how?
> Cus I have tried
> <fo:table>
> <fo:table-body>
> <fo:table-row>
> <fo:table> something like this</fo:table>
> </fo:table-row>
> </fo:table-body>
> </fo:table>
The nested table has to be in a cell.
Yes, you can have nested tables. I'm using the XSL Formatter product.
One tricky thing that the Antenna House guys helped me with is that you
need to set the start-indent of the nested table body to "0pt" in order
to get the result you probably expect. Otherwise it inherits it's
parent's indent, e.g.
<fo:table
start-indent="12pt"
<fo:table-body>
<fo:table-row>
<fo:table-cell>
</fo:table-cell>
<fo:table-cell>
<fo:table>
<-- make sure nested table doesn't indent from left edge of
containing cell: -->
<fo:table-body
start-indent="0pt">
Cheers,
Eliot
ISOGEN International, LLC
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








