Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

UpdateExpr

Update expression.


Syntax

UpdateExpr

graphics/UpdateExpr.png

InsertClause DeleteClause RenameClause ReplaceClause FLWUExpr UpdateIfExpr

Top of page

Description

An UpdateExpr contains either one of the basic update operations that insert, delete, rename or replace node sequences. Or it is a FLWUExpr which is a variant of the regular FLWR expressions for more complex update operations. All update expressions are introduced by the keyword update.

As a result the list of those XML objects is returned that were affected by the update operation.

For any update operation, you need appropriate writing permission for the resulting document. The resulting document must still conform to the schema definition except if you deliberately turn off schema validation for the affected database. If you use more than one update operation in a FLWUExpr this can lead to conflicts. See Performing Update Operations for details.

Top of page

Example

See the pages to the respective update expressions for examples.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page