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

Re: following-sibling and xsl:sort

Subject: Re: following-sibling and xsl:sort
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Wed, 27 Apr 2005 15:40:51 -0700
xsl sort following sibling
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.