Changes

Jump to navigation Jump to search
164 bytes added ,  14:52, 18 November 2015
no edit summary
=Parameters=
 
{{Mark|Updated with Version 8.4}}: new serialization method <code>basex</code>; method <code>raw</code> was removed.
The following table gives a brief summary of all serialization parameters recognized by BaseX. For details, please refer to official specification.
| {{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|jsonbasex}} is specific to BaseX 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).* {{Code|csv}} is BaseX-specific and can be used allows you to output XML nodes as CSV data (see the [[CSV Module]] for more details).* {{Code|raw}} is BaseX-specific, too: Binary data types are output in their ''raw'' form, i.e., without modifications. For all other types, the items’ string values are returned. No indentation takes place, and and no characters are encoded via entities.| {{Code|adaptive}}, {{Code|xml}}, {{Code|xhtml}}, {{Code|html}}, {{Code|text}}, {{Code|json}}, {{Code|csv}}, {{Code|rawbasex}}| {{Code|adaptivebasex}}
|- valign="top"
| {{Code|version}}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu