==Adaptive Serialization==
{{Mark|Updated with Version 8.4}}: adaptive serialization The method was aligned with specthe latest version of the specification.
The {{Code|adaptive}} serialization provides a textual representation for all XDM types, including maps and arrays, functions, attributes, and namespaces. All items will be separated by the value of the {{Code|item-separator}} parameter, which by default is a newline character.
fn:true#0
</pre>
The method is now also used by the <code>fn:trace</code> or <code>[[Profiling Module#prof:dump|prof:dump]]</code> functions.
==JSON Serialization==