Subject: Re: [xsl] Alternative for current-group() From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 12 Jul 2007 16:25:27 +0100 |
> Given that I can't dynamically define a key, is there a way for me to google for muenchian grouping, or see Jeni's site http://www.jenitennison.com/xslt/grouping/muenchian.html To do nested grouping you need to generate key values that are unique to the scope that you wish, so for example if you use a key of concat(generate-id(..),'|',@name) then any elements which are not siblings will not be grouped together, even if they have the same name attribute. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Alternative for current-g, Bhaskar _ | Thread | [xsl] Problems with following-sibli, Barret Boombastic |
Re: [xsl] Alternative for current-g, Bhaskar _ | Date | Re: [xsl] Select Deepest Node only , J. Zhang |
Month |