xinc:link-references( $node as node() ) as xs:string*
This function returns a list of all the distinct URIs of documents referenced (either directly or indirectly) in the expansion of the node.
Parameters | |
---|---|
node | The node containing XInclude references. |
xquery version "1.0-ml"; import module namespace xinc = "http://marklogic.com/xinclude" at "/MarkLogic/xinclude/xinclude.xqy"; xinc:link-references(fn:doc("http://example.org/mydoc.xml"))