RE: [xsl] Cannot enter data into Dynamic Table cells

Subject: RE: [xsl] Cannot enter data into Dynamic Table cells
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 1 Jul 2004 13:47:57 +0100
 
> the problem seems to be the line :
> 
> <xsl:for-each 
> select="current()[position()]/following::*[position() &lt; 
> 5]">

I haven't tried to understand what you are trying to achieve, but

(a) current() will always select a single node, so applying a predicate to
it is a little pointless

(b) the predicate [position()] is short for [position()=position()], which
is always true.

Michael Kay


Current Thread