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: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 14 Oct 2002 18:10:37 +0100
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"/> ?


<xsl:for-each select="//*[position() &lt;= 8]">
<fo:table-column column-width="2cm"/> 
</xsl:for-each>

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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


Current Thread