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

RE: xsl:sort Please Help

Subject: RE: xsl:sort Please Help
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 28 Jun 2001 22:15:59 +0100
RE:  xsl:sort Please Help
> I am having problems using xsl:sort.  I have found that the 'order-by'
> element works fine, but I need to sort numerically also.
>
> <current_projects>
>       <xsl:for-each  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>        <xsl:sort  select="cost" data-type="number"/>

xsl:for-each needs a select attribute.

It doesn't need a namespace declaration.

You're not, by any chance, trying to use the XSLT xsl:for-each instruction
within a WD-xsl stylesheet, are you? That won't work - it's like putting a
Java statement inside a COBOL program.

Mike Kay
Software AG


 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.