<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.getUrlRewriterPath.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.getUrlRewriterPath</api:function-name><api:suggest>xdmp.geturlrewriterpath</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>geturlrewriterpath</api:suggest><api:function-link mode="xquery" fullname="xdmp:get-url-rewriter-path">/apidoc/8.0/xdmp:get-url-rewriter-path.xml</api:function-link><api:function mode="javascript" name="getUrlRewriterPath" type="builtin" lib="xdmp" category="AppServerBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.getUrlRewriterPath"><api:summary>
  Returns the URL of the URL rewriter handler for this application server.
  An empty string is returned if there is no rewrite handler.
</api:summary><api:params/><api:return>String</api:return><api:usage>
  <p xmlns="http://www.w3.org/1999/xhtml">This function is useful for implementing a rewrite handler where you may
  want to resolve a location relative to the rewrite handler rather than to
  the specific request. This may be the case if the rewrite handler is acting
  as a delegator to known modules.
  </p>
</api:usage><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
fn.resolveUri("special-handler.xqy", xdmp.getUrlRewriterPath());
</pre></api:example></api:function></api:function-page>