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

RE: daytimeduration help

Subject: RE: daytimeduration help
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 25 Jan 2006 09:03:37 -0000
daytimeduration
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:  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

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.