asp.net - How to sort variables in an xsl for-each list -
i have following code:
<asp:radiobuttonlist id="priceselect_{$moduleid}" runat="server" repeatdirection="vertical" nowrap="true"> <xsl:for-each select="page/arrayofwebprice/webprice"> <xsl:variable name ="ratecode" select ="ratecode"></xsl:variable> <xsl:variable name ="ratestructure" select ="ratestructure"></xsl:variable> <xsl:variable name ="price" select="concat($currencysymbol, format-number(price, concat('#,###,##0.', substring($zeros, 1, $currencyprecision))), ' ', $currencycode)"></xsl:variable> <asp:listitem value="{$ratestructure}_{$ratecode}_price" enabled ="true" selected ="true" text="{$price}" > </asp:listitem> </xsl:for-each> <asp:listitem value="other" enabled ="true" selected ="false"> </asp:listitem> </asp:radiobuttonlist>
i trying sort order of each list item, numbers.
Comments
Post a Comment