xdmp:filesystem-filepath

xdmp:filesystem-filepath(
   $pathname as xs:string
) as xs: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:filesystem-filepath("/etc/motd")
=> /etc/motd
Powered by MarkLogic Server | Terms of Use | Privacy Policy