RE: position()

Subject: RE: position()
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 11 Aug 2000 09:01:04 +0100
> I guess I don't understand the "position" function.  I am 
> trying to see 
> if the node I'm processing is the last one, but it never works:
> 
> <xsl:if test="position(..)=last(../../a)">&nbsp;&nbsp;&nbsp;&nbsp;

Both position() and last() take no arguments, they refer to the position of
the current node within the list of nodes currently being processed.

Mike Kay 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread