Florence Deforge wrote:
Hello
I need to create a style sheet which displays tables.
In the xml instance tables are defined as follow :
<table>
<line>
<cell>...</cell>
<cell>...</cell>
...
</line>
</table>
Tables can have any number of columns and I wonder if it is possible to create a single template that would first compute the number of column (assuming all lines have the same number of columns) then compute the column width according to this number.
Has anyone done something similar ?

This crops up regularly on the XSL list. There are a few solutions in the archive http://www.mulberrytech.com/xsl/xsl-list/ and there are also a few post on either of the FOP lists referring to them.

J.Pietschmann




Reply via email to