This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
position()
- To: XSL-List at mulberrytech dot com
- Subject: position()
- From: "Steve Carton" <scarton at retrievalsystems dot com>
- Date: Thu, 10 Aug 2000 15:12:26 -0400
- 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:template match="a/b">
<xsl:if test="position(..)=last(../../a)">
</xsl:if>
xsl:apply-templates/> </xsl:template>
Any comments?
-----------------------www.retrievalsystems.com
Steve Carton 703/749-0012
Retrieval Systems Corporation 703/749-0015
2071 Chain Bridge Road, Suite 510
Vienna, VA 22182
If it's 0 degrees today, and it's going to be twice as cold tomorrow, ...how cold will it be?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list