Changes

Jump to navigation Jump to search
84 bytes removed ,  22:01, 22 January 2015
no edit summary
| {{Code|method}}
| Specifies the serialization method:
* {{Code|xml}}, {{Code|xhtml}}, {{Code|html}}, {{Code|text}} and {{Code|textadaptive}} are adopted from the official specification.
* {{Code|json}} is specific to BaseX and 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 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|xml}}, {{Code|xhtml}}, {{Code|html}}, {{Code|text}}, {{Code|json}}, {{Code|csv}}, {{Code|raw}}
| {{Code|xmladaptive}}(Since {{Version|8.0}})
|- valign="top"
| {{Code|version}}
| see [[JSON Module]]
|
|- valign="top"
| {{Code|format}}
| Turns output formatting on/off, including the conversion of special characters to entities and insertion of item separators.
| {{Code|yes}}, {{Code|no}}
| {{Code|yes}}
|- valign="top"
| {{Code|tabulator}}
| ''positive number''
| {{Code|2}}
|- valign="top"
| {{Code|wrap-prefix}},<br />{{Code|wrap-uri}}
| Specifies a prefix and/or URI for wrapping the query results.
|
|
|- valign="top"
| {{Code|newline}}
=Changelog=
 
;Version 8.0
 
* Added: Serialization method {{Code|adaptive}}
* Updated: {{Code|adaptive}} is new default method (before:: {{Code|xml}})
* Removed: {{Code|format}}, {{Code|wrap-prefix}}, {{Code|wrap-uri}}
;Version 7.8.2
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu