<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/fn.namespaceUriFromQName.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>fn.namespaceUriFromQName</api:function-name><api:suggest>fn.namespaceurifromqname</api:suggest><api:suggest>fn</api:suggest><api:suggest>namespaceurifromqname</api:suggest><api:function-link mode="xquery" fullname="fn:namespace-uri-from-QName">/apidoc/8.0/fn:namespace-uri-from-QName.xml</api:function-link><api:function mode="javascript" name="namespaceUriFromQName" type="builtin" lib="fn" category="QNameBuiltins" bucket="W3C-Standard Functions" hidden="false" prefix="fn" namespace="http://www.w3.org/2005/xpath-functions" fullname="fn.namespaceUriFromQName"><api:summary>
  Returns the namespace URI for $arg as an <code xmlns="http://www.w3.org/1999/xhtml">xs:string</code>. If
  $arg is the empty sequence, the empty sequence is returned. If $arg
  is in no namespace, the zero-length string is returned.
</api:summary><api:params><api:param name="arg" type="xs:QName?"><api:param-description>
  A qualified name.
  </api:param-description><api:param-name>arg</api:param-name><api:param-type>xs.QName?</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">
fn.namespaceUriFromQName(
  fn.QName("http://www.example.com/example", "person") )

=&gt; the namespace URI corresponding to
   "http://www.example.com/example".
</pre></api:example></api:function></api:function-page>