[xsl] creating criterions to group

Subject: [xsl] creating criterions to group
From: Marcos Hercules dos Santos <mhercules@xxxxxxxxx>
Date: Sun, 20 Feb 2005 16:51:03 -0300
Hi, I'm still working with grouped elements and my structure grow up,
demanding every time more and more

I'm still applying this  sample to count elements

<xsl:value-of select="count(car[generate-id(.) =  
 generate-id(key('by-model',isbn)[1])])" />

Remember this, my  XML structure:  

    <car> 		<model>V667320</model>

My question  I don't know if xsl:key allows to select a element and a
predicate or anything similar. I've been trying to group the cars from
same model and now using intervals of years
to display a report,

some like this

model              1981-1985    1986-1990   1991-1995   1996-200



Can you instruct me ?


Marcos Hercules dos Santos.

Current Thread