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

Re: what does xsl:sort do if "select" doesn't evaluate

Subject: Re: what does xsl:sort do if "select" doesn't evaluate toanything?
From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
Date: Wed, 19 Mar 2003 06:15:14 -0500 (EST)
what does sorting do
On Wed, 19 Mar 2003, Jeni Tennison wrote:

> Hi Robert,
> 
> > what is the defined behavior for <xsl:sort> if the "select="
> > expression is not satisfied by anything?
> 
> You mean if the result of the select expression is an empty node set?

uh, yeah, that.  i'm still trying to learn the precisely correct
terminology for these things.

> The empty node set gets turned into an empty string, which will then
> be sorted in the same way as any other empty string. Usually in
> alphabetical sorting that means such nodes will be sorted before those
> whose sort key has some characters in it.

gotcha.

rday


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.