MarkLogic Server 11.0 Product Documentation
fn.namespaceUriFromQName

fn.namespaceUriFromQName(
   arg as xs.QName?
) as String?

Summary

Returns the namespace URI for $arg as an xs:string. If $arg is the empty sequence, the empty sequence is returned. If $arg is in no namespace, the zero-length string is returned.

Parameters
arg A qualified name.

Example

fn.namespaceUriFromQName(
  fn.QName("http://www.example.com/example", "person") )

=> the namespace URI corresponding to
   "http://www.example.com/example".
Powered by MarkLogic Server | Terms of Use | Privacy Policy