[XSL-LIST Mailing List Archive Home]
Re: [xsl] position and grouping?
Subject: Re: [xsl] position and grouping?|
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 14 Oct 2004 23:29:35 +0100
> So it seems when I use the "position()" test above, I am not just
> testing the position of the name within the record, but (also?) the
> name within a group of records. Can someone clarify this?
beware foreign terminoligy as it leads to confusion (on my part at
XSLT and XML don't have records.
position() _never_ relates to the location of a node in a source
tree. It always refers to a position in a current node list
(or sequence in 2.0). That is if you select a node with self:: it always
has position() =1 even if it's the 1001 child of some parent.
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit: