
infodev:get-external-binary-file( $source-location as xs:string ) as node()
[DEPRECATED] This function gets the specified binary file from the filesystem.
| Parameters | |
|---|---|
| source-location | The path to the binary file. |
http://marklogic.com/xdmp/privileges/infostudio
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