xsl-list
[Top] [All Lists]

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

2008-02-16 09:30:36
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>