Subject: RE: [xsl] Sorting problem From: "Michael Kay" <mhk@xxxxxxxxx> Date: Thu, 8 Apr 2004 15:36:22 +0100 |
Use data-type="number" on the xsl:sort element. Michael Kay > -----Original Message----- > From: kanirajan nagarajan [mailto:rknaga@xxxxxxxxx] > Sent: 08 April 2004 13:49 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Sorting problem > > Hi, I have a problem with sorting HTML <select> > element. Here is my select option values: > > 1000($59.95) > 2000($109.0) > 3000($155.0) > 4000($201.0) > 5000($500.00) > 500($249.0) > > Always the 500 appears at the bottom.I need to put > "500" at the top. > The values are created by concating two different > variables in the xslt. My xml is sorted and it looks > like this : > > <ProductQuantity qty="500" price="49.95"/> > <ProductQuantity qty="1000" price="59.95"/> > <ProductQuantity qty="2000" price="109.0"/> > <ProductQuantity qty="3000" price="155.0"/> > <ProductQuantity qty="4000" price="201.0"/> > <ProductQuantity qty="5000" price="249.0"/> > > How should I go? > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sorting problem, Andrew Curry | Thread | [xsl] list spacing between label an, Norma Yeazell |
Re: [xsl] Creating a CDATA tag in o, Elliotte Rusty Harol | Date | RE: [xsl] XML Parser bug/error repo, Jiang, Peiyun |
Month |