Changes

Jump to navigation Jump to search
839 bytes added ,  00:11, 6 February 2011
Created page with "Serialization parameters define how XQuery items and XML nodes are textually output, i.e., ''serialized''. They have been formalized in the [http://www.w3.org/TR/xquery-30/#id-se..."
Serialization parameters define how XQuery items and XML nodes are textually output, i.e., ''serialized''.
They have been formalized in the [http://www.w3.org/TR/xquery-30/#id-serialization W3C Serialization] document.
In BaseX, they can be specified in several ways:

* by using the <code>-s</code> flag of the [[Startup_Options#BaseX_Standalone|BaseX Standalone]] client,
* by setting the [[Options#Query options|SERIALIZER]] option before running a query,
* by setting the [[Options#Query options|EXPORTER]] option before exporting a database,
* by setting them via the [[JAX-RX_API#Query_Parameters|Output Parameter]] of the JAX-RX API,
* by including them in the [[XQuery_3.0#Serialization|prolog of the XQuery expression]] (since XQuery 3.0), or
* by specifying them in the XQuery function [[File_Functions#file:write|file:write()]].
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu