Loading TOC...

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

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