Loading TOC...

MarkLogic 10 Product Documentation
xinc:link-references

xinc:link-references(
   $node as node()
) as xs:string*

Summary

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.

Example

  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"))
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.