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

Subject: Re: [xsl] [xsl-fo] generating the correct number of columns for a table from html to xsl-fo
From: "Michael H. Semcheski" <mhs-list@xxxxxxxxx>
Date: Mon, 14 Oct 2002 13:16:50 -0400


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



Current Thread