xsl-list
[Top] [All Lists]

Re: [xsl] date format using xslt 1.0

2012-06-12 15:08:45
This might (or might not) be useful:

http://www.exslt.org/date/functions/parse-date/

Michael Kay
Saxonica

On 12/06/2012 18:47, Jacob L wrote:
Hi,


I am trying to write an XSLT for formatting date.I am unable to find
any such previous posting,so sending it to the list.Here is my
requirement.

Input format:

<date>Mon, 11 Jun 2012 17:29:42 +0000</date>

After the transform,I want output as:-

<date>20120611</date>  which is YYYYMMDDkkmmss

Time at the end is not important.I am using XSLT 1.0 and SAX parser.

Thanks a lot!

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>