Scalar. Replaces sections of an XML value matching a given XPATH string with another XML value.
Sybase CEP Engine locates the element nodes in value that match xpath. If Sybase CEP Engine locates any non-element nodes, it logs a warning and ignores the nodes. Sybase CEP Engine replaces each matched element tree with update. Sybase CEP Engine performs the replacement in document order, so if both a tree and an ancestor of the tree match, Sybase CEP Engine only replaces the ancestor.
XMLDELETE
XMLINSERT
The following example shows changing the shipping METHOD nodes to "air":
INSERT INTO OutStream SELECT XMLUPDATE (O.orderVal, XMLPARSE ('<METHOD>air</METHOD>'), '//METHOD') FROM O;