Subject: RE: [xsl] Distinct items? From: eric@xxxxxxxxxxxx (Eric Vitiello) Date: Tue, 27 Mar 2001 12:14:58 -0500 |
Thanks! that worked excellently! > Hello > You can use this: > select='//item[not(year = preceding-sibling::item/year)]'> > > I hope that helps > > Edmund > > -----Original Message----- > From: eric@xxxxxxxxxxxx [mailto:eric@xxxxxxxxxxxx] > > I would like to retrieve a list of items such as: > > 1998 1999 2000 > > from the following XML: > > <projects> > <item> > <year>1998</year> > </item> > <item> > <year>1998</year> > </item> > <item> > <year>1999</year> > </item> > <item> > <year>2000</year> > </item> > <item> > <year>2000</year> > </item> > </projects> > > > > > > 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] Distinct items?, Edmund Mitchell | Thread | RE: [xsl] Distinct items?, Eric Vitiello |
RE: [xsl] how to outupt data in hex, Michael Kay | Date | RE: [xsl] Distinct items?, Eric Vitiello |
Month |