|
Subject: Re: [xsl] How to sort a nodeset returned by key()? From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 8 Apr 2008 23:28:09 +0100 |
> Here is the missing code :
ah, which is more or less the same as I came up with, modulo a few
variables,
The xslt2 solution, using xsl:for-each-group, would be essentially
identical to this just doing a straight translation of
<xsl:for-each select="salesman/account[count( . |...
to xsl:for-each-grouo, and
<xsl:for-each select="key('accounts-by-region', $region)">
to
<xsl:for-each select="current-group()"
so it's a fair bit more readable but structurally identical.
David
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to sort a nodeset ret, Olivier Mengué | Thread | Re: [xsl] How to sort a nodeset ret, Olivier Mengué |
| Re: [xsl] How to sort a nodeset ret, David Carlisle | Date | [xsl] Ant xslt Approach Question, Z W |
| Month |