The name of the root element determines how the body will be evaluated:
* {{Code|commands}} (new since {{Version|9.0}}!): Run [[Commands#Command Scripts|Command Script]]
* {{Code|query}}: Execute XQuery expression
* {{Code|run}}: Run server-side file (query or command script)
With {{Version|9.0}}, the REST namespace of the root element has become optional.
Existing This means, for example, that existing command scripts can be sent to the server without any modifications:
* Create an empty database and return database information: