Re: [xsl] position() in xsl:for-each

Subject: Re: [xsl] position() in xsl:for-each
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 9 Jul 2004 10:10:02 +0100
> What puzzles me is that following-sibling::*[1] selects the next
> element in the input tree, and not in the nodeset I select in the
> for-each.

All axes always navigate around the original tree. The parent, siblings,
children, etc of a node are a fixed feature of that node, they don't
change depending on which node set you are considering.

Node sets are just unordered sets of nodes you can't navigate around
them using Xpath notation.


This e-mail has been scanned for all viruses by Star Internet. 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