* <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 the [[JSON Module]] for more details). Added with {{Version|7.0}}
* <code>raw</code> is BaseX-specific as well: Binary data is types are output in its 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. Added with {{Version|7.0}}
| <code>xml</code>, <code>xhtml</code>, <code>html</code>, <code>text</code>, <code>json</code>, <code>jsonml</code>, <code>raw</code>
| <code>xml</code>