The Xalan-C user list is not the best place to post general questions about XSLT. The Mulberry list would be a much better choice. Also, you should check the following resources:
http://www.dpawson.co.uk/xsl/sect2/N4486.html http://www.jenitennison.com/xslt/grouping/index.html Dave 林 子芯 <[EMAIL PROTECTED] To: [email protected] mail.com> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: about meucheun method (using multiple keys) 07/03/2002 09:21 AM hi i guess this is a very common question, but i was wondering, whether the muenchian method (to be more precise, the xsl:key method) supports multiple keys, i.e. having more than one element in the use attribute in my case, i have an xml file like this: ... <book> <author>author1</author> <name>x box</name> <type>sc-fi</type> </book> <book> <author>author2</author> <name>elf story</name> <type>adventure</type> </book> <book> <author>author1</author> <name>the return of Dr who</name> <type>sc-fi</type> </book> <book> <author>author2</author> <name>something2</name> <type>sc-fi</type> </book> ... i would like to have group the output using both author and type for instance the ideal result should be.... <group name="author1" type="sc-fi"> <name>x box</name> <name>return of Dr who</name> </group> <group name="author1" type="adventure"> <name>elf story</name> </group> <group name="author2" type="sc-fi"> <name>something2</name> </group> 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 Many thanks regards Kit _________________________________________________________________ 使用 MSN Messenger,與朋友在線上聊天: http://messenger.msn.com
