From: Wolfgang <wol...@ex...> - 2009-05-27 20:06:16
|
> An exception is thrown when service.updateResource() is called within > doXUpdateResource(). Can anyone tell me what I am doing wrong? What's the exception message? The code basically looks ok. > Is there an easier way to do this? Wouldn't it be easier to handle the entire process in a single XQuery? Untested code: for $qn in //QueueNode[(string-length(StartedDateTime/text()) = 0)] let $start := $qn/StartedDateTime return update value $start with current-dateTime() Wolfgang |