The W3C XQuery working group has posted a new candidate recommendation of XQuery Update Facility. XQuery as it currently exists is basically just SELECT in SQL terms. XQuery Update adds INSERT, UPDATE, and DELETE. More specifically it is:
upd:mergeUpdates
upd:revalidate
upd:applyUpdates
upd:insertBefore
upd:insertAfter
upd:insertInto
upd:insertIntoAsFirst
upd:insertIntoAsLast
upd:insertAttributes
upd:delete
upd:replaceNode
upd:replaceValue
upd:replaceElementContent
upd:rename
upd:removeType
upd:setToUntyped
The following features are considered to be at risk:
They may be removed if implementations of them do not exist at the end of the Candidate Recommendation period.
Comments are due by August 31.