RE: [xsl] xsl:grouping

Subject: RE: [xsl] xsl:grouping
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 6 Dec 2004 11:11:17 -0000
Can't see where grouping comes into this.

select="(a|b|c)[last()]"

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Andrew Curry [mailto:andrew.curry@xxxxxxxxxxxx] 
> Sent: 06 December 2004 11:00
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] xsl:grouping
> 
> I have xml like
> 
> <a .../>
> <b .../>
> <c .../>
> <d ..../>
> 
> i need a way to select the last element of types a,b or c.
> 
> Im sure there is a grouping solution but i cant figure it 
> out. Or im being
> stupid and there is a simple solution.
> 
> Any help appreciated cheers.

Current Thread