|
Subject: [xsl] Convert to RFC822 via XSLT? Doable? From: "Austin, Darrel" <Darrel.Austin@xxxxxxxxxxxxxxxxxx> Date: Wed, 28 Mar 2007 16:05:26 -0500 |
The XML I am trying to convert to RSS XML stores the pubDate as such:
2007/03/28
RSS needs it to be in RFC822 format:
Wed, 28 Mar 2007 12:00:00 CST
After some googling, I'm not even sure this should be attempted in XSL.
It look like using the tostring("R") function asp.net (or date('r') in
PHP) looks like the better option and just get the dats in the RFC822
format PRIOR to making the XML.
However, maybe there is a fairly painless way to go from one date format
to the other in XSLT. So, thought I'd ask in here. ;o)
-Darrel
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] <xsl:message terminate="y, Michael Kay | Thread | RE: [xsl] Convert to RFC822 via XSL, Joel Dubien |
| [xsl] <xsl:message terminate="yes">, Grant Slade | Date | Re: [xsl] <xsl:message terminate="y, pcarey |
| Month |