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(_at_)edocs(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: "'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'"
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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
_________________________________________________________________
Unlimited Internet access for only $21.95/month. Try MSN!
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list