Loading TOC...

infodev:get-external-binary-file

infodev:get-external-binary-file(
   $source-location as xs:string
) as node()

Summary

[DEPRECATED] This function gets the specified binary file from the filesystem.

Parameters
source-location The path to the binary file.

Required Privileges

http://marklogic.com/xdmp/privileges/infostudio

Example

xquery version "1.0-ml"; 
 
import module namespace infodev = 
   "http://marklogic.com/appservices/infostudio/dev" 
   at "/MarkLogic/appservices/infostudio/infodev.xqy";

infodev:get-external-binary-file("/space/myfile.bin") 

=> returns the binary document 

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