* Prints the city names from the ''factbook'' database and encloses all results with a <code><rest:result/></code> elements:<br/><code>http://localhost:8984/rest/factbook?query=//city/name&wrap=yes</code>
* Serializes a document as JSONML:<br/><code>http://localhost:8984/rest/factbook/factbook.xml?method=json&json=format=jsonml</code>
* <code>US-ASCII</code> is chosen as output encoding, and the query <code>eval.xq</code> is evaluated:<br/><code>http://localhost:8984/rest?run=eval.xq&encoding=US-ASCII</code>