The xsl:sort tag seems to be ignored when used with the xsl:apply-templates tag. Also, in a
xsl:for-each loop, only one sort field seems to be effective.
Here's what I want to do:
<xsl:apply-templates>
<xsl:sort select="field1"/>
<xsl:sort select="field2"/>
</xsl:apply-templates>
This works with xalan-j_2_2_D11, but it doesn't work when I compile it. I've also tried putting the
sort fields inside a for-each loop and only the first field is sorted.