grouping and discarding duplicates

Subject: grouping and discarding duplicates
From: Nathan Shaw <n8_shaw@xxxxxxxxx>
Date: Thu, 1 Jul 2004 08:03:23 -0700 (PDT)
Hi all. I have an XSLT that sorts and groups on date
per category. However, the client has changed the
specs and now wants multiple categories and an All
Categories page. This means that I have to shed
duplicate events that appear in different categories
and group the categories for display. I have spent a
day and a half trying to figure out how to do this
without much luck.

What I want to end up with is a record like this:

<DataTableRow>
  <DataTableRowCell><strong>HOLIDAY - Labor
Day</strong></DataTableRowCell>
</DataTableRow>
<DataTableRow>
  <DataTableRowCell>September 06, 2004 08:00
AM-September 06, 2004 05:00 PM (All
Day)</DataTableRowCell>
</DataTableRow>
<DataTableRow>
  <DataTableRowCell>Categories: Education Events,
External Technical Meetings, General Interest, Public
Outreach Events, Industry</DataTableRowCell>
<DataTableRow>
  <DataTableRowCell> </DataTableRowCell>
</DataTableRow>

Can someone lend a hand? The XML and XSLT files are
too large to include, but can be downloaded here, in
the XML-XSLT folder:

http://briefcase.yahoo.com/n8shaw

Thanks a bunch in advance!

--Nathan


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

Current Thread