|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Sort Problem
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








