Hi there,
By default, BaseX 8.0 will use the new "adaptive" serialization method [1], which will be included in the new serialization spec:
* It allows you to serialize attributes, namespace and function items (including maps and arrays) * Atomic values will not be escaped anymore. * Items will be separated with newlines
The new default can already be tested [2]. As an example, the following query...
"me & you", map { "B": "C" }, <x y='z'/>/@y
…will be serialized as follows:
me & you { "B": "C" } y="z"
Please be aware that the new default serialization may generate different results, so please check your existing applications when switching to the new version!
Cheers, Christian
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=27498 [2] http://files.basex.org/releases/latest