* 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()]].
==Parameters==
{| class="wikitable"
|- valign="top"
! width='75' | Parameter
! Description
! width='165' | Examples
|- valign="top"
| <code>[version]</code>
| XML Version (<code>1.0</code> or <code>1.1</code>).
| version=1.0
|}