Re: [xsl] FO Table widths - table-layout fixed behaviour and use

Subject: Re: [xsl] FO Table widths - table-layout fixed behaviour and use
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Jul 2008 18:56:30 +0100
On Tue, Jul 22 2008 18:31:56 +0100, davidc@xxxxxxxxx wrote:
>    <fo:table-body>
>   <fo:table-row>
>     <fo:table-cell width="2.5in">AAA</fo:table-cell>
>     <fo:table-cell width="2.5in">BBB</fo:table-cell>
>   </fo:table-row>
>
> don't you want 
>
> <fo:table-column column-width="2.5in"/>
> <fo:table-column column-width="2.5in"/>
>
> before that table body?

The fixed widths can be taken from the cells in the first row.  XSL FO
behaves like CSS2 [1] in this (though xmlroff currently doesn't support
this).

Regards,


Tony Graham                         Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2


[1] http://www.w3.org/TR/REC-CSS2/tables.html#fixed-table-layout

Current Thread