Subject: Re: Date Formating
From: "James Fuller" <james.fuller@xxxxxxxxxx>
Date: Mon, 13 Jan 2003 17:45:59 -0500 (EST)
|
> Hello xsl-list,
>
> I'm transforming an xml file that gives me a nicely formatted report
> (html 80 odd pages).
> Part of the transform uses format-number() for decimal places etc.
>
> one of the elements in the xml, is a date
> <date-created>2003-01-12</date-created>
>
> How do you transform this to 12-Jan-03 ?
there are many approaches to cracking apart a date....take a look at the
datetime functions over at www.exslt.org
gl, Jim Fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|