xsl-list
[Top] [All Lists]

Need help on sorting a dollar amount.

2002-10-26 14:34:04
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



<Prev in Thread] Current Thread [Next in Thread>