Subject: Re: [xsl] Need help on sorting a dollar amount. From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx> Date: Sun, 27 Oct 2002 13:06:45 +0000 |
You have to be a little more elaborative about your problem. do the following. 1. Give an example of your XML file. 2. Give an example of what you would expect out of the transformation 3. Show us what you are getting.
Thanks Vasu
From: Sreeni Chippada <sreeni@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: [xsl] Need help on sorting a dollar amount. Date: Sat, 26 Oct 2002 17:34:04 -0400
Hi, I am trying to sort on dollar amount. The value is grouped by comma. I tried to do like this:
<xsl:when test="$location-sort-mode='mrc'"> <xsl:apply-templates select="Location[./LocationName/text()]/MRC"> <xsl:sort select="traslate(., ',', '')" data-type="number" order="{$location-sort-order}"/> </xsl:apply-templates> </xsl:when>
That does not work. Appreciate any help.
Thanks, Sreeni
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Need help on sorting a dollar, Sreeni Chippada | Thread | RE: [xsl] Need help on sorting a do, Sreeni Chippada |
RE: [xsl] changing node names in XM, Michael Kay | Date | RE: [xsl] Need help on sorting a do, Sreeni Chippada |
Month |