Loading TOC...


   $source as binary()
) as xs:string?


Return the path to the external file associated with an external binary document.

$source The external binary node for which to retrieve the external file path.

Usage Notes

If the source binary node does not represent an external binary binary document, XDMP-ARG is thrown. That is, the source binary node must have been created by xdmp:external-binary. Use xdmp:binary-is-external to test whether or not a node represents an external binary.



  => /space/binaries/movies/movie-1.mp4

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


The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.
  • Could I reset the external-binary-path?
    • You would just re-insert the document with the new path. (And remove the old one, assuming you no longer need it.)