* <code>xml</code>, <code>xhtml</code>, <code>html</code>, and <code>text</code> are taken from the official specification.
* <code>json</code> and <code>jsonml</code> are specific to BaseX and can be used to output XML nodes in the JSON format (see [[JSON Functions]] for more details). Added with <font color='orangered'>Version 6.8</font>
* <code>raw</code> is BaseX-specific as well. Binary data is output as raw data, all other items and texts are returned in their internal formatstring representation, and no indentation and entity coding takes place. Added with <font color='orangered'>Version 6.8</font>
| <code>xml</code>, <code>xhtml</code>, <code>html</code>, <code>text</code>, <code>json</code>, <code>jsonml</code>, <code>raw</code>
| <code>xml</code>