xsl-list
[Top] [All Lists]

Re: [xsl-fo] generating the correct number of columns for a table from html to xsl-fo

2002-10-14 10:16:50


resulting code gives a number and I don't know how to use that.

My question is: if I have a number (say "8"), how do I loop through to generate 8 times the 
line : <fo:table-column column-width="2cm"/> ?

I think what you are looking for is an xsl:for-each select="nodes-im-counting"... If you need to do colspan's (i'm not familiar with FO) you can use the count function in an xsl:attribute.

HTH,
Mike


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list