David, Ken and Michael, thanks for the fast replay!
... indeed, it was a namespace problem.
The solution to build a variable and then to sort it works fine for
me...
<xsl:variable name="rows" as="element(xhtml:tr)+">
<xsl:for-each-group select="/results/match" group-by="team">
<xsl:copy-of
select="my:MakeTableRow(current-grouping- key(),current-group())"/>
</xsl:for-each-group>
</xsl:variable>
<xsl:for-each select="$rows">
<xsl:sort select="xhtml:td[8]"/>
<xsl:copy-of select="."/>
</xsl:for-each>
Thanks again
Leo
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--