namespace-uri-from-QName
Returns the namespace URI part of the QName value supplied as argument.

Languages
Built-in, C++, C#, Java, XQuery, XSLT 2.0, XSLT 3.0.
Parameters
Name | Description |
---|---|
qname | Mandatory. Provides the function's input value. |
Example
The following XML file contains a QName value, o:name. Note that the prefix "o" is mapped to the namespace http://NamespaceTest.com/Order.
<?xml version="1.0" encoding="utf-8"?> |
A mapping that processes the QName value and gets the namespace URI is illustrated below:

The output of this mapping is http://NamespaceTest.com/Order.