[xsl] Need help on sorting a dollar amount.

Subject: [xsl] Need help on sorting a dollar amount.
From: Sreeni Chippada <sreeni@xxxxxxxxx>
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