[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Display RSS grouped by month

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

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.

Cheers,
Wendell

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

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">
<channel>
  <title>My Feed</title>
  <description>My feed desc</description>
  <item>
    <title>News 1</title>
    <description>News 1</description>
    <link>http://www.none.ca/1</link>
    <pubDate>Thu, 8 Nov 2007 10:10:30 -0500</pubDate>
   </item>
   <item>
     <title>News 2</title>
     <description>News 2</description>
     <link>http://www.none.ca/2</link>
     <pubDate>Tue, 2 Oct 2007 10:10:16 -0500</pubDate>
   </item>
</channel>
</rss>

Desired output:

November
News 1

October
News 2

Thank you,

Brent Wilcox

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.