[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: grouping items in a list of records

Subject: Re: grouping items in a list of records
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Wed, 20 May 2009 17:05:37 +0200
Re:  grouping items in a list of records
Martin Honnen schrieb:

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!

Michael Ludwig

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.