==Serialization==
[http://www.w3.org/TR/xquery-30/#id-serialization Serialization parameters] can now be specified defined within XQuery expressions. All available parameters are supported, which are specified in the [http://www.w3.org/TR/xslt-xquery-serialization-30/ W3C Serialization Document].
Parameters are placed in the query prolog and need to be specified as option declarations, using the <code>output</code> prefix.
'''Example:'''
<pre class="brush:xquery">
declare option output:omit-xml-declaration "no";
declare option output:method "xhtml";
<html/>
</pre>
'''Result:''' <code><?xml version="1.0" encoding="UTF-8"?><html></html></code>
[[Category:XQuery]]
[[Category:Finish]]