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

Re: about meucheun method (using multiple keys)

Subject: Re: about meucheun method (using multiple keys)
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Wed, 03 Jul 2002 18:53:31 +0200
Re:  about meucheun method (using multiple keys)
> with mucheun mehtod i can only group them with one condition (either
> name or type) but i think there must be a way to archive such. any
> feedback with be a great help

That's not correct, you only have to change the key.

Example:

<xsl:key name="group-books-by-author-and-type" match="book" use="concat(author, '::', type)"/>

'::' is the separator to avoid conflicts. The rest is the same as with "normal" grouping. Of course you also have to change the key() like key('group-books-by-author-and-type', concat(author, '::', type)).

Regards,

Joerg


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.