XQuery Update to return values

Hi,

 

The problem I am trying to solve is that with XQuery Update faicility, I
will update an element and at the same time, I want the same element to
be returned. Something like the following:

 

1. update a book element's author 

2. return the updated book element

 

Is there a way to do it in one query instead of two separate queries?
And it looks like update expression does not return anything

 

Thanks,

Emma 

 

 

 

 

Received on Friday, 27 July 2007 15:30:44 UTC