
fn:namespace-uri-from-QName( $arg as xs:QName? ) as xs:anyURI?
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. |
fn:namespace-uri-from-QName(
fn:QName("http://www.example.com/example", "person") )
=> the namespace URI corresponding to
"http://www.example.com/example".
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.