Changes

Jump to navigation Jump to search
271 bytes added ,  19:19, 1 February 2013
'''Example:'''
<pre class="brush:xquery">
declare namespace output = "http://www.w3.org/2010/xslt-xquery-serialization";
declare option output:omit-xml-declaration "no";
declare option output:method "xhtml";
</pre>
'''Result:''' <code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;html&gt;&lt;/html&gt;</code>
 
In BaseX, the {{Code|output}} prefix is statically bound and can thus be omitted. Note that all namespaces need to be specified when using external APIs, such as [http://xqj.net/basex/ XQJ].
==Context Item==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu