namespace-uri-for-prefix
namespace-uri-for-prefix($prefix as xs:string?, $element as element()) → xs:anyURI?
Arguments | |||
| $prefix | xs:string? | The supplied prefix |
| $element | element() | The element node whose in-scope namespaces are to be examined |
Result | xs:anyURI? |
Links to W3C specifications
Namespace: http://www.w3.org/2005/xpath-functions
Applies to: XPath 2.0, XSLT 2.0, XQuery 1.0 and later versions
XPath 2.0 Functions and Operators
XPath 3.0 Functions and Operators