[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Adding xs:time to xs:dateTime
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|