eXist Command: del

Deletes resources on an eXist server


del [exist options] resource [resource ...]


Deletes resources residing on an eXist server
Resources 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 Options


Assuming the prefix "e" is imported as the exist module, delete the test.xml document

e: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


del is implemented using the REST protocol using the DELETE method

See http://exist.sourceforge.net/devguide_rest.html

eXist Extension Module
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki