XQuery Function Documentation
http://exist-db.org/xquery/xmldb
java:org.exist.xquery.functions.xmldb.XMLDBModule
A module for database manipulation functions.
xmldb:remove #1
xmldb:remove ($collection-uri as xs:string) as empty-sequence()Removes the collection $collection-uri and its contents from the database. Collection URIs can be specified either as a simple collection path or an XMLDB URI.
- Parameters:
$collection-uri The collection URI - Returns:
- empty-sequence()
xmldb:remove #2
xmldb:remove ($collection-uri as xs:string, $resource as xs:string) as empty-sequence()Removes the resource $resource from the collection $collection-uri. Collection URIs can be specified either as a simple collection path or an XMLDB URI.
- Parameters:
$collection-uri The collection URI $resource The resource - Returns:
- empty-sequence()