[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RSS Feeds, Dates, Transformation with Exslt
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|