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

RSS Feeds, Dates, Transformation with Exslt

Subject: RSS Feeds, Dates, Transformation with Exslt
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Thu, 24 Feb 2005 13:51:07 -0700
rss pubdate format
Hello,

Recently I attempted to transform the RSS pubDate using the Exslt
format-date function.  I was dissapointed to find out that the RSS
date format doesn't appear to be a valid XML date format.  Now, this
is something that I have come across before, not with RSS but with
data (dates) I was feading to an XML source from a database.  The
issue was that the field in the database was not an actual date field
but a character field, hence the date entered in this field was
something like "02-04-2004", a format not supported by the format-date
function in the MSXML extensions or EXSLT extensions (do we call these
extensions?).

So, what is the best way to handle dates?  Do you have to insure that
the date format is something like this:
YYYYMMDDTHH:MM:SSSS

Is there another way to get from weird date formates like this example:
<pubDate>Wed, 23 Feb 2005 16:12:56 GMT</pubDate>
..to a format that is recognizable by the parsers?

Karl

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.