On Mon, 2005-02-21 at 15:32 +0000, isterin wrote:
> Has anyone ever come up with a solution for something similar. I
> googled for some XSLT/XPath way of solving this, and most solutions
> lead to having a columns="#" attribute in the table element. Since we
> can't enforce this, is there another way of possibly counting the
> columns in say the first row, to generate the fo:table-column elements?
You could recurse through the table and count rows,
returning the max()
or, as you say, take the count of the first row as being
value = count(row/cell)
Depends how regular your input data is?