xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
least)
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.

David

________________________________________________________________________
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:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor