XQUERY declare variable $GREETING external; $GREETING
</pre>
|}
===QUERYPATH===
{| width='100%'
|-
| width='120' | '''Signature'''
|{{Code|QUERYPATH [path]}}
|-
| '''Default'''
|''empty''
|-
| '''Summary'''
|Contains the path (''base URI'') to the executed query (default: ''empty''). This directory will be used to resolve relative paths to documents, query modules, and other resources addressed in a query.
|}
=Changelog=
;Version 8.6
* Removed: {{Code|QUERYPATH}} (will now be internally assigned)
;Version 8.5