Subject: Re: [xsl] Can someone explain this generate-id and key xsl fragment to me? From: Michael Sokolov <msokolov@xxxxxxxxxxxxxxxxxxxxx> Date: Fri, 28 Feb 2014 22:53:56 -0500 |
On 28/02/2014 18:17, russurquhart1@xxxxxxxxxxx wrote:well thanks for setting the record straight :)
<xsl:for-each select="//errata_section[generate-id(.)=generate-id(key('module-index', module_impacted)[1])]">
<xsl:sort select="module_impacted"/>
That is the standard idiom known as Muenchian grouping (google for it) that was used to group items (or remove duplicates0 in XSLT 1. It is largely replaced by xsl:for-each-group in XSLT2.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can someone explain this , David Carlisle | Thread | Re: Re: [xsl] Can someone explain t, russurquhart1 |
Re: [xsl] Can someone explain this , Russell Urquhart | Date | |
Month |