Thanks, Petr, your solution worked ;^), I did:
<fo:table>
<xsl:for-each select="ROW[1]/CELL">
<fo:table-column column-width="{6.26 div last()}in" border-color="black"
border-style="solid" border-width="1pt"/>
</xsl:for-each>
<fo:table-body font-size="10pt" font-family="sans-serif">
<xsl:for-each select="ROW">
<fo:table-row line-height="12pt">
<xsl:for-each select="CELL">
<fo:table-cell border-width="1pt" border-color="black"
border-style="solid" padding="6pt">
<fo:block font-size="8pt" font-weight="bold" text-align="justify">
<xsl:apply-templates/>
</fo:block>
</fo:table-cell>
</xsl:for-each>
</fo:table-row>
</xsl:for-each>
</fo:table-body>
</fo:table>
thanks for the help..
Regards...
Pierre
> I think xsl:number is not what you need. You can count cells using the
> last() function:
>
> <xsl:template match="row">
> <fo:column column-width="{last()}"/>
> column definition
> </xsl:template>