>>but doesn't work in case when $order == "descending"
>>
>> <xsl:for-each select="$selectedTable/product">
>>     <xsl:sort select="substring(@price,2)" data-type="number"
>>order="{$order}"/>

>Try it without the curly brackets:
><xsl:sort select="substring(@price,2)" data-type="number" order="$order"/>

>The curly brackets only get used when you want to use an XSL variable or
>parameter outside of an <xsl> tag.

 without the curly brackets I have the same result

Regards
Andrew


Reply via email to