[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] xsl:grouping


Subject: RE: [xsl] xsl:grouping
From: Andrew Curry <andrew.curry@xxxxxxxxxxxx>
Date: Mon, 6 Dec 2004 11:13:18 -0000

was being thick...

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: 06 December 2004 11:11
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] xsl:grouping


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
Keywords
xml