Changes

Jump to navigation Jump to search
26 bytes removed ,  16:35, 30 January 2019
no edit summary
|-
| width='120' | '''Signatures'''
|{{Func|xquery:eval|$query as xs:stringanyAtomicType|item()*}}<br />{{Func|xquery:eval|$query as xs:string, $bindings as map(*)?|item()*}}<br />{{Func|xquery:eval|$query as xs:string, $bindings as map(*)?, $options as map(*)?|item()*}}<br />
|-
| '''Summary'''
|Evaluates the supplied {{Code|$query}} string as XQuery expression and returns the resulting items.<br/>The evaluated query has its own query context{{Version|9. 2}}: If a returned node the query is stored in a databaseof type {{Code|xs:anyURI}}, the module located at this URI will be retrieved (a main-memory copy relative URI will be returned as resultresolved against the static base URI of the query). Otherwise, because the referenced database is closed after query execution and input will not be accessible anymoreevaluated as query string.<br />Variables and context items can be declared via {{Code|$bindings}}. The specified keys must be QNames or strings:
* If a key is a QName, it will be directly adopted as variable name.
* It a key is a string, it may be prefixed with a dollar sign. Namespace can be specified using the [http://www.jclark.com/xml/xmlns.htm Clark Notation].
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu