==Parameters==
The following table gives a brief summary of all serialization parameters supported by BaseX. For details, please refer to official specification. {| class="wikitable" width="100%"
|- valign="top"
! width='75' | Parameter
! Description
! width='165' | Restrictions! Default! Examples
|- valign="top"
| <code>[version]</code>| XML Version (.| <code>1.0,1.1</code> or | <code>1.10</code>).| <code>version=1.0</code>|- valign="top"| <code>encoding</code>| Encoding to be used for outputting the data.|| <code>UTF-8</code>| <code>encoding=US-ASCII</code>|- valign="top"| <code>indent</code>| Adjust whitespaces to make the output better readable.| <code>yes,no</code>| <code>yes</code>| <code>indent=no</code>|- valign="top"| <code>cdata-section-elements</code>| List of elements to be output as CDATA, separated by whitespaces.| | | <code>cdata-section-elements=text</code>|- valign="top"| <code>omit-xml-declaration</code>| Omits the XML declaration, which is serialized before the actual query result.| <code>yes,no</code>| <code>yes</code>| <code>omit-xml-declaration=no</code>|- valign="top"| <code>standalone</code>| Prints or omits the "standalone" attribute in the XML declaration, which states if the document has[http://www.w3.org/TR/REC-xml/#sec-rmd external markup declarations].| <code>yes,no,omit</code>| <code>omit</code>| <code>standalone=yes</code>
|}