[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to construct an instance of xs:dateTimeStamp ?


Subject: Re: [xsl] How to construct an instance of xs:dateTimeStamp ?
From: Liam R E Quin <liam@xxxxxx>
Date: Thu, 24 Apr 2014 00:55:22 -0400

On Wed, 2014-04-23 at 21:11 -0700, Dimitre Novatchev wrote:
>  The xs:dateTimeStamp is a new atomic type in XDM 3.0 (defined in XML
> Schema 1.1)
> 
> Could somebody, please, provide an example how to construct such an instance?

fn:current-dateTime() returns one,
http://www.w3.org/TR/2014/REC-xpath-functions-30-20140408/#func-current-dateTime

as does xs:dateTimeStamp('2011-11-11T11:11:11Z')

if the implementation supports XSD 1.1.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


Current Thread
Keywords