eXist Command: del
Deletes resources on an eXist serverSynopsis
del [exist options] resource [resource ...]Description
Deletes resources residing on an eXist serverResources are specified by the relative or absolute path. If a collection is specified then the collection and all its child resources are deleted.
Exist Options
The del command accepts all eXist Common OptionsExample
Assuming the prefix "e" is imported as the exist module, delete the test.xml documente:del test.xml
To delete a collection and all its children use the collection name as the argument
Deletes the collection "/db/test"
e:del /db/test
Implementation
del is implemented using the REST protocol using the DELETE method
See http://exist.sourceforge.net/devguide_rest.html
eXist Extension Module