was being thick... -----Original Message----- From: Michael Kay [mailto:mike@xxxxxxxxxxxx] Sent: 06 December 2004 11:11 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: 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: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.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format