MarkLogic Server 11.0 Product Documentation
xdmp.filesystemFilepath

xdmp.filesystemFilepath(
   pathname as String
) as String

Summary

Returns the canonicalized file path of the input path. The file at the specified path must be UTF-8 encoded.

Parameters
pathname Pathname of the file.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-filesystem-filepath

Example

xdmp.filesystemFilepath("/etc/motd");
=> /etc/motd
Powered by MarkLogic Server | Terms of Use | Privacy Policy