[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Adding xs:time to xs:dateTime

Subject: Re: Adding xs:time to xs:dateTime
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Sat, 16 Feb 2008 22:08:59 +0530
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.