RE: [xsl] xsl:sort Please Help

Subject: RE: [xsl] xsl:sort Please Help
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 28 Jun 2001 22:15:59 +0100
> 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="";
> 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:

Current Thread