<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.filesystemFilepath.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.filesystemFilepath</api:function-name><api:suggest>xdmp.filesystemfilepath</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>filesystemfilepath</api:suggest><api:function-link mode="xquery" fullname="xdmp:filesystem-filepath">/apidoc/8.0/xdmp:filesystem-filepath.xml</api:function-link><api:function mode="javascript" name="filesystemFilepath" type="builtin" lib="xdmp" category="AdminBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.filesystemFilepath"><api:summary>
  Returns the canonicalized file path of the input path.  The file at the
  specified path must be UTF-8 encoded.
</api:summary><api:params><api:param name="pathname" type="xs:string"><api:param-description>
    Pathname of the file.
  </api:param-description><api:param-name>pathname</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>String</api:return><api:privilege>
  <p xmlns="http://www.w3.org/1999/xhtml"><code>http://marklogic.com/xdmp/privileges/xdmp-filesystem-filepath</code></p>
</api:privilege><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.filesystemFilepath("/etc/motd");
=&gt; /etc/motd
</pre></api:example></api:function></api:function-page>