Version 8.2.2
 —  XQuery 4 Reference Guide  —

tf:query

Execute an XQuery


Syntax

tfquery(string $query) => item*

Top of page

Description

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.

Top of page

Parameters

$doc

document node

Top of page