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

Sorting by date

Subject: Sorting by date
From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
Date: Tue, 27 May 2008 08:38:46 -0700 (PDT)
 Sorting by date
We have a RSS feed with the following xml:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    <description>Description 1</description>
      <title>item 1</title>
      <description>item desc 1</description>
      <SortDate>Wed, 18 Feb 2008 11:18:41
      <link>item link1</link>
      <guid>item guid1 </guid>
      <aaa:modelDate>Sat, 15 Mar 2008 12:18:41
      <title>item 2</title>
      <description>item desc 2</description>
      <SortDate>Wed, 19 Feb 2008 11:18:41
      <link>item link1</link>
      <guid>item guid1 </guid>
      <aaa:modelDate>Sat, 16 Mar 2008 12:18:41

I need to sort by date(SortDate) and prepare a html
file which outputs the following:

SortDate (yyyy-mm-dd format)
title: modelDate

Eg Output:
2008-02-19 ==> notice that Feb 19 item is displayed
item 2

item 1

How do I sort the out by date?

Current Thread


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.
First Name
Last Name
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.