[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: position and grouping?

Subject: Re: position and grouping?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 14 Oct 2004 23:29:35 +0100
xsl position xsl number
> 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:

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.