This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: formatting dates/times in XSL
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] formatting dates/times in XSL
- From: Oleg Tkachenko <olegt at multiconn dot com>
- Date: Tue, 30 Oct 2001 11:51:28 +0200
- Organization: Multiconn International
- References: <OE27n7NFet6GmxGxOu300009801@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Todd Binder wrote:
> Is there a way to format dates and times in XSL? currently I have date and
> time elements in the XML sourcefile
>
> <date>20011011</date>
> <time>14:00</time>
>
> and with XSL, I would like to format the date as MMM DD, YYYY (i.e. October
> 11, 2001) and format the time in the format of 2 pm
One of the possibilities here is to use XSLT Standard Library's date/time module:
http://xsltsl.sourceforge.net/
--
Oleg Tkachenko
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list