xdmp:document-load
Inserts a new document with the specified URI. If a document already exists at the URI, the function replaces the content in the existing document as an update operation.
xdmp:document-load('/meta/config.xml');
xdmp:document-load("/meta/config.xml",
<options xmlns="xdmp:document-load">
<uri>/meta/config</uri>
<format>xml</format>
</options>)
xdmp:document-delete
Deletes a document from the database.
xdmp:document-delete(document-uri(doc('/meta/config')))