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

RE: sort problem

Subject: RE: sort problem
From: "DuCharme, Robert" <Robert.DuCharme@xxxxxxxxxx>
Date: Mon, 24 Jul 2000 11:49:54 -0400
destabeaux
>but I don't know how to sort the items by the field punteggio

When I replaced your 

  <xsl:apply-templates select="parade/personaggio" />

with 

   <xsl:apply-templates select="parade/personaggio">
     <xsl:sort data-type="number" select="@punteggio"/>
   </xsl:apply-templates>

and fixed your namespace declaration to use the Rec version of the spec,
Saxon sorted it by the punteggio value. When I changed the namespace
declaration back and tried it with IE 5.00 it didn't sort it, but according
to http://www.vbxml.com/xsl/XSLTRef.asp msxml2 doesn't support xsl:sort, so
maybe that's the MS XML parser installed with my copy of IE. I haven't
worked with IE's XSLT support much.

Bob DuCharme       www.snee.com/bob       <bob@  
snee.com>  see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.


 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.