This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
value of xsl:param in xsl:sort
- From: "Kunal H. Parikh" <kunal at kaypee dot net>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 14 Feb 2002 15:41:05 +1100
- Subject: [xsl] value of xsl:param in xsl:sort
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi !
========================
<xsl:param name="sortByElement">AuthorList/Author/Name</xsl:param>
<xsl:sort select="$sortByElement" order="ascending"></xsl:sort>
========================
The above code does not seem to be replacing the $sortByElement for the
parameter.
But, if I replace "$sortByElement" with "AuthorList/Author/Name", everything
works out just fine.
Can someone please suggest what mistake I am making ?
TIA,
Kunal
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list