xmldb:create-collection($target-collection-uri as xs:string, $new-collection as xs:string) xs:string?
Create a new collection with name $new-collection as a child of $target-collection-uri. Collection URIs can be specified either as a simple collection path or an XMLDB URI.Returns the path to the new collection if successfully created, otherwise the empty sequence.
$target-collection-uri
The target collection URI
$new-collection
The name of the new collection to create
Returns the path to the new collection if successfully created, otherwise the empty sequence