Return namespace URI of QName argument.
fn:get-namespace-from-QName(QName? $qName) => anyURI?
This function returns the namespace URI for $qName
. If
$qName
is in no namespace, the function returns the empty
sequence.
$qName |
value of type |
---|
Retrieve namespace from QName
http://company.dot.com/namespaces/corporate
:
get-namespace-from-QName(expanded-QName("http://company.dot.com", "namespaces/corporate"))
This query returns the string http://company.dot.com
.
The following construct(s) refer to this construct: