xsl-list
[Top] [All Lists]

RE: xsl:grouping

2004-12-06 04:11:17
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(_dot_)curry(_at_)pa(_dot_)press(_dot_)net] 
Sent: 06 December 2004 11:00
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>