Set <xsl:sort> attributes with stylesheet parameters2003-10-30 02:53:44Hello List, Why does the following code: <xsl:sort select="*[local-name()=$sort-by]" order="$sort-order" /> not sort in the order specified by the value $sort-order? $sort-order is parameter passed to the stylesheet from a combo box on an HTML form so is definately only ever 'ascending' or 'descending'. (NOTE: the select attribute value works fine here). Cheers, Richard XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|