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

Re[2]: xsl:sort Please Help

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


______________________________ Reply Separator _________________________________
Subject: RE:  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="http://www.w3.org/TR/WD-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 
different.
  
Mike Kay
Software AG
  
  
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
  

 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.