[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to sort by elements of a function output?
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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|