我的问题非常类似:
XSLT: use factors in xls:sort属性(动力特性分类)
But I d like to sort it by node s attribute. How to change this command:
<xsl:sort select="*[name()=$sortBy]" order="{$order}"/>
so that instead of name() function, there would be comparison to names of attributes? Or is there any other way to (dynamically according to given parameter) sort nodes by their attributes?