| Returns all resulting items as strings, prefixed by the [[Server Protocol: Types#XDM Meta Data|XDM Meta Data]]. This command is e. g. used by the [[Developing|XQJ API]].
|}
====Query Command Protocol====
{{Mark|Since Version 8.0}}, also sequences can be bound to variables and the context:
* Multiple items are separated in {{Code|value}} with {{Code|\1}} bytes
* If a single item has a type different to the general type, it can be appended to the item with {{Code|\2}} and the type as string.* If an empty sequence is bound, {{Code|empty-sequence()}} must be specified as type
An Example: the three items {{Code|xs:integer(1)}}, {{Code|xs:integer(2)}} and {{Code|xs:string('A')}} are encoded as {{Code|1}}, {{Code|\1}}, {{Code|2}}, {{Code|\1}}, {{Code|A}}, {{Code|\2}}, {{Code|xs:string}}, {{Code|0}} and {{Code|xs:integer}}, {{Code|0}} as general type.