RE: [xsl] position() inside a for x to y

Subject: RE: [xsl] position() inside a for x to y
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 11 Jun 2006 13:17:42 +0100
> select="$colhead-size[position()]"/>
> 
> My question is: why do I have to save position() to a 
> variable to use it properly in the for-each loop?

The context item, position, and size inside a predicate are different from
the values outside the predicate.

Michael Kay
http://www.saxonica.com/

Current Thread