Loading TOC...

MarkLogic 9 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

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