Re[2]: [xsl] xsl:sort Please Help

Subject: Re[2]: [xsl] xsl:sort Please Help
From: Steven.C.Kienle@xxxxxxxxxx
Date: Fri, 29 Jun 2001 07:37:36 -0400
  Just to clarify: the correct sorting syntax in XSLT would be:
     <xsl:for-each select="project[project_title &lt; 'Z']">
        <xsl:sort select="project_title" />
              <xsl:value-of select="project_title"/>

______________________________ Reply Separator _________________________________
Subject: RE: [xsl] xsl:sort Please Help
Author:  xsl-list@xxxxxxxxxxxxxxxxxxxxxx at Internet-America
Date:    29-06-2001 10:24 AM

> No, I'm not using WD-xsl.  I'm still a little confused 
> though.  Thank you
> for your help and your time.  I am pretty new at this. 
> The following works fine in my application. 
> <current_projects>
>       <xsl:for-each order-by="+project_title" select=" 
> project[project_title$lt$'Z']"
> xmlns:xsl="";> 
>            <project>
>                <project_title>
>                    <xsl:value-of select="project_title"/> 
>                </project_title>
> So I would think the similar format of this would work. 
You are indeed confused. Your order-by attribute is WD-xsl syntax, your 
select attribute with its $lt$ operator is WD-xsl syntax, your namespace is 
WD-xsl, so what do you mean, you aren't using WD-xsl?
Get yourself an XSLT reference and try very hard to forget anything you ever 
learnt about WD-xsl; certainly get rid of the expectation that something 
that works in one language ought to work in the other. They are quite 
Mike Kay
Software AG
 XSL-List info and archive:

 XSL-List info and archive:

Current Thread