Loading TOC...

xdmp.uriFormat

xdmp.uriFormat(
   $uri as String
) as String

Summary

Returns the format of the given URI as matched in the mimetypes configuration.

Parameters
$uri The document URI.

Example

  xdmp.uriFormat("example.txt");
  => text

Example

  xdmp.uriFormat("example.json");
  => json

Example

  xdmp.uriFormat("example.xml");
  => xml

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy