Re: [xsl] Adding xs:time to xs:dateTime

Subject: Re: [xsl] Adding xs:time to xs:dateTime
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Sat, 16 Feb 2008 17:30:07 +0100
Florent Georges wrote:

I faced today a simple problem for which I can't think of a simple
and concise solution. I have an xs:date and an xs:time that together
represent a datetime. I'd simply like to get this actual xs:dateTime. For instance from 2008-02-14 and 12:34:56-06:00 to
2008-02-14T12:34:56-06:00.

Why can't you use <URL:http://www.w3.org/TR/xpath-functions/#func-dateTime>? It is a constructor that takes a date and a time.



--


	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread