RE: [xsl] Date Conversion

Subject: RE: [xsl] Date Conversion
From: Chuck White <chuckwh@xxxxxxxxxxx>
Date: Wed, 23 Oct 2002 06:41:41 -0700
But never reinvent the wheel if someone has already started it rolling:

Chuck White
Author, Mastering XSLT, Sybex Books
Co-Author, Mastering XML Premium Edition, Sybex Books

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
> list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Emmanuel Oviosa
> Sent: Wednesday, October 23, 2002 5:10 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] Date Conversion
> Thanks David.
> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: 23 October 2002 12:22
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Date Conversion
> > I need to know how to convert an attribute nodeTypeValue to a DATE
> > since it is a STRING. In XML and XSLT.
> XPath (1) does not have specific types for dates and times. You can
> string functions such as substring and substring-before to convert
> between formats such as "jan 1st 2002" and "2002-01-01" but the
> depend on exactly what your input format and desired output formats
> David
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit or alternatively
> Star Internet for details on the Virus Scanning Service.
>  XSL-List info and archive:
> The contents of this email and any attachments may be privileged or
> confidential, for the exclusive use of the intended recipient(s) only
> may not be disclosed or used in any way other than by the
addressee(s). If
> you have  received this email in error please advise the sender and
> from your system.
> Integrated Solutions Consultants Ltd are unable to guarantee the
> of email content outside of our own systems where all emails and
> are treated in accordance with the Regulation of Investigatory Powers
> 2000.
> Further information about Integrated Solutions Consultants Ltd is
> available at or mailto:info@xxxxxxxxx
>  XSL-List info and archive:

 XSL-List info and archive:

Current Thread