Subject: Re: [xsl] grouping items in a list of records From: Michael Ludwig <mlu@xxxxxxxxxxxxx> Date: Wed, 20 May 2009 17:05:37 +0200 |
If you want to restrict the grouping to the parent 'item' element then one way to do that is to integrate the generated id of the 'item' element into the key, as in the following stylesheet:
<xsl:key name="role" match="planItemOrganization" use="concat(generate-id(parent::item), '|', role/name/name)"/>
Great! I attempted to solve this, but then realized that vanilla Muenchian grouping won't work here, so I gave up, trusting that one of the usual suspects would pick up the task. Thanks for this nice solution!
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] grouping items in a list , Skopik Pavel | Thread | [xsl] 'Embedded' xml, Bruno Domenici |
[xsl] Muenchian method on filtered , Joelle Tegwen | Date | Re: [xsl] Grouping based on key res, Wendell Piez |
Month |