Re: [xsl] Display RSS grouped by month

Subject: Re: [xsl] Display RSS grouped by month
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 09 Nov 2007 11:13:24 -0500

What have you tried? What have you learned in your researches about the problem? What sorts of impediments have you run up against in solving the problem yourself?

Notwithstanding how some list contributors enjoy the challenge of a new puzzle, the purpose of the list is really to discuss XSLT, that is to shed light on XSLT problems, approaches and applications, rather than serve as a free source of ready-made XSLT solutions.

There are actually a couple of different problems here. I can see the grouping, or the categorizing of the entries by month, as potential difficulties in XSLT 1.0. Depending on how you dealt with the latter problem (which in turn depends on the regularity of your data), the grouping should be amenable to a simple key-based approach.


At 11:40 PM 11/8/2007, you wrote:

I would like to display an RSS feed grouped by month
using XSL version 1, please.

Here is my xml:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <title>My Feed</title>
  <description>My feed desc</description>
    <title>News 1</title>
    <description>News 1</description>
    <pubDate>Thu, 8 Nov 2007 10:10:30 -0500</pubDate>
     <title>News 2</title>
     <description>News 2</description>
     <pubDate>Tue, 2 Oct 2007 10:10:16 -0500</pubDate>

Desired output:

News 1

News 2

Thank you,

Brent Wilcox

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

Current Thread