Execute an XQuery
tfquery(string $query) => item*
Function tf:query compiles and executes a nested XQuery, that is passed as a string. It returns the result of the query as a sequence of items. Any errors that occur during compilation or execution of the nested query will be reported as execution errors of the calling query.
document node
The following construct(s) refer to this construct: