RE: [xsl] daytimeduration help

Subject: RE: [xsl] daytimeduration help
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 09:03:37 -0000
You've got the namespace wrong. It has changed in successive drafts of the
spec. In the CR specs, and in Saxon 8.6.1, it is
http://www.w3.org/2005/xpath-datatypes

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Kent Seegmiller [mailto:hookjaw20@xxxxxxxxxxx] 
> Sent: 25 January 2006 05:15
> To: XSLT
> Subject: [xsl] daytimeduration help
> 
> Using saxon 8.6.1 I get the error:
> XPST0003: xpath syntax error...cannot find one-argument funcion 
> in{http://www.w3.org/2005/04/xpath - datatypes}dayTimeDuration()
> 
> I am trying to add 8 hours to a time ie:
> xs:dateTime('2005-01-10T22:05:00') + xdt:dayTimeDuration('PT8H') 

Current Thread