Subject: Re: [xsl] what does xsl:sort do if "select" doesn't evaluate to anything? From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> Date: Wed, 19 Mar 2003 06:15:14 -0500 (EST) |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] what does xsl:sort do if , Jeni Tennison | Thread | RE: [xsl] what does xsl:sort do if , Michael Kay |
Re: [xsl] what does xsl:sort do if , Jeni Tennison | Date | [xsl] questions about XSLT philosop, Robert P. J. Day |
Month |