This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: value of xsl:param in xsl:sort


I had this problem a few days ago:
*[name() = $sortByElement]

--- "Kunal H. Parikh" <kunal@kaypee.net> wrote:
> 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

__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]