[Bug 3578] [UPDUseCases] Issues with May 8th Usecase Draft

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3578





------- Comment #9 from simeon@us.ibm.com  2007-08-17 20:58 -------
Works. Thanks!
- Jerome

(In reply to comment #4)
> I think this fixes the Use Case "R" Q4:
> 
> 
> let $user := doc("users.xml")/users/user_tuple[name="Annabel Lee"] return 
>   if ($user/rating)     
>     then replace value of node $user/rating with "B" 
>     else insert node <rating>B</rating> into $user
> 

Received on Friday, 17 August 2007 20:59:22 UTC