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")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.