Support Overview


DataDirect XQuery supports the complete XUF specification for

Updating Relational Data

DataDirect XQuery does not support XUF for relational data sources. XUF expressions can operate on nodes containing data that originates from a relational data source, but these changes are not propagated to the relational data source. Consider this example:

let $myName := <name>{collection("USERS")/USERS[USERID="02"]
                        /FIRSTNAME/text()}</name> 

Here, you can use XUF to modify $myName, but you cannot change values from the collection() function because those nodes are retrieved directly from a relational data source.

You can, however, use the ddtek:sql-insert/update/delete functions to perform update operations directly against an RDBMS. See Updating Relational Data for more information.

XUF Expressions

The XUF specification introduces several new expressions as extensions to the XQuery specification:

These and other expressions and functions that support XUF are described and illustrated in the examples in the sections that follow.