Mike Rodriguez
unread,Oct 12, 2009, 2:04:26 PM10/12/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Oracle Service Bus
Hello Jeff,
Hope everything it's fine.
Now with another question.
If you check the yahoo group, the question it's also there.
Anyway, I'm right now trying to manipulate a xs:dateTime object in
Xquery. The main operation that I'm pretending to do, it's to add a
day to the date that I got from the other XML.
I have something like this:
let $arrivalDate := xs:dateTime(/ns:HotelResearch/ns:Reservation/
ns:arrivalDate)
return
<information>
<arrival>{$arrivalDate }</arrival>
<departure>{$arrivalDate + xs:dateTime(P1D)}</departure>
</information>
But that doesn't work, it says that the "add" method cannot be invoked
on this kind of objects.
Any idea?
Please help me out!
You know I'll appreciate your time and your help!
Best regards,
_
Mike