<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.urlDecode.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.urlDecode</api:function-name><api:suggest>xdmp.urldecode</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>urldecode</api:suggest><api:function-link mode="xquery" fullname="xdmp:url-decode">/apidoc/8.0/xdmp:url-decode.xml</api:function-link><api:function mode="javascript" name="urlDecode" type="builtin" lib="xdmp" category="AppServerBuiltins" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.urlDecode"><api:summary>
  Converts URL-encoded string to plaintext.  This decodes the string created
  with <a href="./xdmp.urlEncode" class="javascript" xmlns="http://www.w3.org/1999/xhtml">xdmp.urlEncode</a>.
</api:summary><api:params><api:param name="encoded" type="xs:string"><api:param-description>
     Encoded text to be decoded.
  </api:param-description><api:param-name>encoded</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>String</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.urlDecode("Why+not%3f");
=&gt; "Why not?"
</pre></api:example></api:function></api:function-page>