Subject: Re: Chunking large CALS table in mulitple smaller tables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 26 Jun 2008 12:23:55 +0100
|
> 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()>=$start][position()<=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.
________________________________________________________________________
|