xsl-list
[Top] [All Lists]

Re: [xsl] Chunking large CALS table in mulitple smaller tables

2008-06-26 04:24:18

but I do not understand why your original code failed.

probably because I typed it straight into the mail message without
testing it:-)



However something a bit odd with your change. I was trying to pull out 9
columns at a time, then adding the first column to make 10.

Your change

<xsl:copy-of select="entry[1]"/>
<xsl:for-each select="entry[position()&gt;=$start][position()&lt;=10]">


will make 11 entries per row (col 1, plus (at most) 10 more entries from
the for-each.

That's fine so long as the first bit to make the colspec entries also
makes 11 columns.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--