This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Sorting/grouping question
- From: Dan Cederholm <dan at cederholm dot tv>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 29 May 2002 09:20:59 -0700
- Subject: [xsl] Sorting/grouping question
- Reply-to: xsl-list at lists dot mulberrytech dot com
I need to turn this XML:
<list>
<date>200201</date>
<date>200202</date>
<date>200101</date>
<date>200102</date>
<date>200001</date>
<date>200002</date>
</list>
Into ..
2002
2001
2000
Basically building a list of years (one instance of each year represented in
the XML)
Should I be using <xsl:key> for something like this?
Thanks,
Dan
--
dan@cederholm.tv
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list