xsl-list
[Top] [All Lists]

Re: position() in xsl:for-each

2004-07-09 02:10:02


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.

David

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


<Prev in Thread] Current Thread [Next in Thread>