The W3C XQuery working group has published the first public working drafts ofXQuery Update Facility and XQuery Update Facility Use Cases. XQuery as it currently exists is basically just SELECT in SQL terms. This is INSERT, UPDATE, and DELETE. More specifically it is:
upd:mergeUpdates upd:revalidate upd:applyUpdates Update Primitives upd:insertBefore upd:insertAfter upd:insertInto upd:insertIntoAsLast upd:insertAttributes upd:delete upd:replaceValue upd:rename