This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: position()
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: position()
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 11 Aug 2000 09:01:04 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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)">
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