This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Sort Problem
- To: "xsl-list at mulberrytech dot com" <xsl-list at mulberrytech dot com>
- Subject: Sort Problem
- From: charbel dot keyrouz at softsolutions dot fr (SoftLiban KEYROUZ Charbel)
- Date: Fri, 23 Jun 2000 14:03:38 +0300
- Reply-To: xsl-list at mulberrytech dot com
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