xdmp:document-get-collections( $uri as xs:string ) as xs:string*
Returns the collections to which a given document belongs.
Parameters | |
---|---|
uri | The document URI. |
xdmp:document-get-collections("chapter5.xml") => ("http://marklogic.com/all-books", "http://marklogic.com/xml-books")