This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: position()


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]