Hi
I am trying to pass this parameter
<xsl:param name="sortBy" select="default"/>
to the sort command
<xsl:apply-templates select="Supplier">
<xsl:sort data-type="number" select="{$sortBy}"/>
</xsl:apply-templates>
but I am getting this error:
Error in xsl processing pattern = '{$sortBy}'
Extra illegal tokens: '$', 'sortBy}'
What is wrong with this call?
My objective is to call the sort depending on a user selection which is
passed to the template using parameters.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Sort Problem
- SoftLiban KEYROUZ Charbel - Fri, 23 Jun 2000 14:03:38 +0300 <=
- <Possible follow-ups>
- Kay Michael - Fri, 23 Jun 2000 16:25:32 +0100
|
|