Loading TOC...

MarkLogic 12 EA 2 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".

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.