Subject: RE: [xsl] anyone can solve it From: "Michael Kay" <mhk@xxxxxxxxx> Date: Sat, 26 Apr 2003 12:33:25 +0100 |
This is a standard grouping problem, the standard solutions are at http://www.jenitennison.com/xslt/grouping Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Cheung Tin Po > Sent: 26 April 2003 09:38 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] anyone can solve it > > > hi expert, > > i get an xml file like that > <record> > <row year="2000" month="1" thedata="xyx" /> > <row year="2000" month="2" thedata="xyx" /> > <row year="2000" month="3" thedata="xyx" /> > <row year="2000" month="4" thedata="xyx" /> > <row year="2000" month="5" thedata="xyx" /> > <row year="2001" month="1" thedata="xyx" /> > <row year="2000" month="3" thedata="xyx" /> > <row year="2002" month="1" thedata="xyx" /> > </record> > > i want to use xsl the to trasform the output as html with the > following > result > > 2000 / 1 : xyx > 2 : xyx > 3 : xyx > 2001 / 1 : xyx > 3 : xxx > ... > 9 : sss > 2002 / 1 : xxx > 2 : xxx > > > i want the year to show once only... but i really dont know > hoe to do that > as i dont know how to remember the value of year in the > previous elements > > From Timothy > > > > > > > _________________________________________________________________ > No masks required! Use MSN Messenger to chat with friends and family. > http://go.msnserver.com/HK/25382.asp > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] anyone can solve it, Nathaniel Brett Stod | Thread | RE: [xsl] Table and Image Propertie, Sundar Shanmugasunda |
RE: [xsl] unwelcome SPAN in text ou, Michael Kay | Date | RE: [xsl] Table and Image Propertie, Sundar Shanmugasunda |
Month |