<syntaxhighlight lang="xml">
<rest:databases resources="1" xmlns:rest="http://basex.org/rest"> <rest:database resources="1" size="1813599">factbook</rest:database></rest:databases>
</syntaxhighlight>
<syntaxhighlight lang="xml">
<rest:database name="factbook" resources="1" xmlns:rest="http://basex.org/rest"> <rest:resource type="xml" content-type="application/xml" size="77192">factbook.xml</rest:resource></rest:database>
</syntaxhighlight>