[xsl] Passing Parameters to xsl:sort

Subject: [xsl] Passing Parameters to xsl:sort
From: "Brucato, Greg" <GBrucato@xxxxxxxxxxxx>
Date: Wed, 25 Apr 2001 11:01:14 -0400
I am trying to pass a parameter to control the sorting of report output. I
can pass the parameter to the 'order' attribute, but passing a parameter to
the 'select' attribute does not seem to work.

<xsl:param name="order">descending</xsl:param>
<xsl:param name="sort-value">trunk-group-type</xsl:param>


<xsl:sort select="$sort-value" order="{$order}"/>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread