Ok, thanks for the quick response. I wanted to make sure repalce wasn't just an insert/remove sequence which would make it unatomic. How would I replace the node with a completely new one? So if I didn't want to just replace the 'value of', how would I do that? -tjw
…just omit the "value of" keywords; find more at e.g.
http://www.w3.org/TR/xquery-update-10-use-cases/
All the best, Christian