Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: dynamic sort dynamic sortTo: NULL Date: 9/5/2004 8:54:00 PM How can I pass different expressions as a variable to xsl:sort, like: expression 1 : *[name()='myval'] expression 2 : tree1/tree2[somenode='someval']/tree3/someothernode making this sorting possible: .. <xsl:variable name="v_sort" select=" -->expression<-- "/> <xsl:for-each select="mynodeset"> <xsl:sort select="$v_sort"/> .. </xsl:for-each> Both expressions works fine when inserted directly into the sort! I know that xsl variables cannot be passed directly to xsl:sort, but is there some other solution or workaround to this problem? | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
