I am trying to sort an XML document using xsl: sort
My requirement is to ignore case when doing sorting. xsl: sort has a case-order attribute that helps indicate top-first or bottom-first, which doesn't help me.
I also tried using the translation function, something like this:
<xsl:sort select="translate('abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ',sortOn)" order="ascending" />";
also works.
Ideas appreciated.
source
share