Such collections are identified by a URI as defined in the XQuery specification. However, please note that we do not advise users to use collections identified by URIs. Instead, we refer to the data lifecycle documentation. It gives an overview of several ways to work with collections, documents, and other data-structures.
available-collections
() as xs:string*
The function returns a sequence of URIs of the collections that are available. |
create
($uri as xs:string)
Creates the collection with the given URI. |
create
($uri as xs:string, $content as node()*)
Creates the collection with the given URI and adds copies of the given sequence to the new collection. |
delete
($uri as xs:string)
Deletes the collection with the given URI. |
from-qname
($name as xs:QName) as xs:string
THIS FUNCTION IS FOR INTERNAL USE ONLY. |
is-available-collection
($uri as xs:string) as xs:boolean
Checks whether a collection with the given URI exists. |
to-qname
($uri as xs:string) as xs:QName
THIS FUNCTION IS FOR INTERNAL USE ONLY. |
declare function ddl:available-collections() as xs:string*
declare function ddl:create($uri as xs:string)
declare function ddl:create($uri as xs:string, $content as node()*)
$uri
and inserts $content
into it.declare function ddl:delete($uri as xs:string)
$uri
.declare function ddl:from-qname($name as xs:QName) as xs:string
$name
declare function ddl:is-available-collection($uri as xs:string) as xs:boolean
declare function ddl:to-qname($uri as xs:string) as xs:QName