<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.decodeFromNCName.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.decodeFromNCName</api:function-name><api:suggest>xdmp.decodefromncname</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>decodefromncname</api:suggest><api:function-link mode="xquery" fullname="xdmp:decode-from-NCName">/apidoc/8.0/xdmp:decode-from-NCName.xml</api:function-link><api:function mode="javascript" name="decodeFromNCName" type="builtin" lib="xdmp" category="Extension" subcategory="Extension" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.decodeFromNCName"><api:summary>
   Invertible function that decodes characters an NCName produced by
   <a href="./xdmp:encode-for-NCName" xmlns="http://www.w3.org/1999/xhtml"><code>xdmp:encode-for-NCName</code></a>.
   Given the NCName produced by <code xmlns="http://www.w3.org/1999/xhtml">xdmp:encode-for-NCName</code> this
   function returns the original string.
</api:summary><api:params><api:param name="name" type="xs:string"><api:param-description>
  A string representing an NCName.  This string must have been the result of
  a previous call to <code xmlns="http://www.w3.org/1999/xhtml">xdmp:decode-from-NCName</code> or undefined
  results will occur.
  </api:param-description><api:param-name>name</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.decodeFromNCName("A_20_Name")
=&gt; "A name"
</pre>
</api:example></api:function></api:function-page>