SLIDE 9 Insert source into target: insert nodes in source as children of target's node. Insert source as first/as last into target: insert nodes in source as first (resp.
as last) children of target's node.
Insert source before/after target: insert nodes in source as preceding (resp.
following) sibling nodes of target's node.
Replace target with source: replace target's node with the nodes in source. Replace value of target with string-value: replace the text-content of
target's node with the new value string-value.
Delete target: delete nodes returned by target along with their descendant
nodes.
Rename target with string-value: rename the label of target's node with the
new label string-value. In the following, source is a set of XML nodes, and target is an XPath expression which returns a single node in case of Insert and Replace operations.
Basic Notions
XQuery Update Operations: XQuery Update Operations: XQuery Update Operations