Re: [xsl] following-sibling and xsl:sort

Subject: Re: [xsl] following-sibling and xsl:sort
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Wed, 27 Apr 2005 15:40:51 -0700
Is the obvious (and only) solution to use xxx:node-set against
transformed / sorted XML?

On 4/27/05, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> > I am having troubles with following-sibling and wondering if I am
> > doing something wrong.  I'm expecting that the following-sibling will
> > result in the next (sorted) element, but it appears that it is not.
>
> Two nodes are siblings if they are children of the same parent node. When
> nodes are sorted, they do not change their parent, so they don't change
> their siblings either. Nodes can participate in many sequences, but only in
> one tree, and the axes always reflect their position in the tree, not their
> position in a particular sequence.
>
> Michael Kay
> http://www.saxonica.com/

Current Thread