Login  Register

Xpath fn:seconds-from-dateTime() not working

Posted by SD on Feb 18, 2011; 6:05pm
URL: https://discuss.orbeon.com/Xpath-fn-seconds-from-dateTime-not-working-tp3313272.html

Hi All,

The following error message is thrown
"Required item type of first argument of seconds-from-dateTime() is xs:string; supplied value has item type xs:dateTime"
when I try to execute
<xforms:output ref="seconds-from-dateTime(xs:dateTime('2010-11-11T13:56:47-07:00'))"/>

Where am I going wrong??

regards
--SD