Changes

Jump to navigation Jump to search
2 bytes removed ,  14:58, 18 November 2015
|- valign="top"
| {{Code|method}}
| Specifies the serialization method:* . {{Code|xml}}, {{Code|xhtml}}, {{Code|html}}, {{Code|text}}, and {{Code|adaptive}} are adopted from the official specification. The following methods are specific to BaseX:
* The method {{Code|basex}} is used as default: Items of binary type are output in their native byte representation. For all other types, the items’ string values are returned. Function items (including maps and arrays) are output just like with the [[XQuery 3.1#Adaptive Serialization|adaptive]] method.
* {{Code|json}} can be used to output XML nodes as JSON objects (see the [[JSON Module]] for more details).
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu