collection($collection-uris as xs:string*, ...) node()*
Returns the documents contained in the collections specified in the input sequence. Collection URIs can be specified either as a simple collection path or an XMLDB URI. Documents contained in subcollections are also included.
$collection-uris
The collection-uris for which to include the documents
Returns the document nodes contained in or under the given collections