Subject: Re: [xsl] How to sort by elements of a function output? From: Leo Studer <leo.studer@xxxxxx> Date: Fri, 24 Apr 2009 22:44:39 +0200 |
<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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to sort by elements o, David Carlisle | Thread | [xsl] How to cast current-group() ?, Leo Studer |
Re: [xsl] RSS feed with custom addi, G. Ken Holman | Date | Re: [xsl] When *not* to use XLST..., Wendell Piez |
Month |