xsl-list
[Top] [All Lists]

RE: daytimeduration help

2006-01-25 02:03:37
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(_at_)comcast(_dot_)net] 
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') 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>