can i say, that if a specific number of columns are open (or if the end
of the sitewidth is arrived...), make a "break" , make a new site, and
show the rest of the columns on the next site?
That's not the xsl way of thinking about it (adding a break part way
through a loop)
Of course splitting a table vertiacally gets interesting if the source
may have spanning cels but assuming that isn't the case (and assuming
you want $n columns per table) you just want to select your inventorlist
elements in groups of $n.
For the first of each group: start a table, start a row, and process the
rest of the group.
so
<xsl:for-each select="inventorlist[position() mod $n = 1">
<fo:table>...
<fo:table-head>..
<fo:table-body>...
<fo:table-row>
<xsl:for-each select=".|following-sibling::inventorlist[position()<$n">
<fo:table-cell...
</xsl:for-each>
so if you have 21 columns and n is 10 you'll end up with two tables with
10 columns and one with 1, which is, I think your request?
Note you never need to break out of the loop, you just ensure before
starting the loop that you have the correct number of nodes.
David
--
http://www.dcarlisle.demon.co.uk/matthew
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list