Changes

Jump to navigation Jump to search
68 bytes added ,  16:07, 11 July 2014
no edit summary
|-
| '''Summary'''
|Evaluates a query and returns the result as sequence. The parameter {{Code|$id}} contains the session id returned by [[Client Module#client:connect|client:connect]], and {{Code|$query}} represents the query string, which will be evaluated by the server.<br />Variables and the context item can be declared via {{Code|$bindings}}. The specified keys must be QNames or strings, the values can must be arbitrary single items:
* If a key is a QName, it will be directly interpreted as variable name.
* If a key is specified as {{Code|xs:string}}, it can optionally be prefixed with a dollar sign. A namespace can be specified using the [http://www.jclark.com/xml/xmlns.htm Clark Notation]. If the specified string is empty, the value will be bound to the context item.
|-
|'''Errors'''
|{{Error|BXCL0003|#Errors}} an I/O error occurs while transferring data from or to the server.<br/>{{Error|BXCL0005|#Errors}} an error occurs while evaluating a query, and if the original error cannot be extracted from the returned error string.<br/>{{Error|BXCL0006|#Errors}} a value to be bound is no single item.
|-
| '''Examples'''
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu