RE: [xsl] Parsing date

Subject: RE: [xsl] Parsing date
From: kakridge@xxxxxxxxxxxxx
Date: Thu, 22 Jan 2004 10:27:02 -0500
Depending on what processor you are using, you might be able to find the
answer at http://www.exslt.org



-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Haarman
Sent: Thursday, January 22, 2004 10:03 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Parsing date



> If a date value is passed in an xml file is there a nice simple
routine for
> parsing it into its day, month year values in xslt
>

In XSLT1 you must be able to rely on your date format and use
sub-string() functions.

XSLT2 has a world of date types and functions.

Mike


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread