[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Distinct items?
Subject: RE: [xsl] Distinct items? From: Edmund Mitchell <EMitchell@xxxxxxx> Date: Tue, 27 Mar 2001 08:40:36 -0800 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Distinct items?, Eric Vitiello | Thread | RE: [xsl] Distinct items?, Eric Vitiello |
[xsl] Distinct items?, Eric Vitiello | Date | RE: [xsl] how to outupt data in hex, Clapham, Paul |
Month |