Changes

Jump to navigation Jump to search
82 bytes added ,  14:41, 18 November 2015
==Adaptive Serialization==
In BaseX, {{Mark|Updated with Version 8.4}}: adaptive serialization method was aligned with spec. The {{Code|adaptive}} is used as the new default serialization method. It provides a textual representation for all XDM types, including maps and arrays, functions, attributes, and namespaces. All items will be separated using by the value of the {{Code|item-separator}} parameter, or which by default is a newline if no value is specified:character.
<pre class="brush:xquery">
<element id='id0'/>/@id,
declare option output:method 'adaptive';
map { 'key': 'value' },
true#0
<pre class="brush:xml">
id="id0"map {
"key": "value"
}
function fn:true#0
</pre>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu