Changes

Jump to navigation Jump to search
152 bytes added ,  19:52, 11 July 2014
no edit summary
==client:query==
 
{{Version|8.0}}: Values with more than one item can now be specified.
 
{| width='100%'
|-
|-
| '''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 must be 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.
=Changelog=
 
;Version 8.0
 
* Updated: Values with more than one item can now be specified in [[#client:query|client:query]].
;Version 7.5
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu