Subject: Re: [xsl] Adding xs:time to xs:dateTime From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Sat, 16 Feb 2008 22:08:59 +0530 |
On Feb 16, 2008 10:00 PM, Martin Honnen <Martin.Honnen@xxxxxx> wrote: > 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. I would confirm this. The following works fine with Saxon 9: <xsl:variable name="date" select="xs:date('2008-02-14')" /> <xsl:variable name="time" select="xs:time('12:34:56-06:00')" /> <xsl:variable name="dateTime" select="dateTime($date, $time)" /> -- Regards, Mukul Gandhi
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Adding xs:time to xs:date, Martin Honnen | Thread | Re: [xsl] Adding xs:time to xs:date, Florent Georges |
Re: [xsl] Adding xs:time to xs:date, Martin Honnen | Date | Re: [xsl] Adding xs:time to xs:date, Florent Georges |
Month |