AwaitedDOM/ XPathNSResolver

TheĀ XPathNSResolver interface permits prefix strings in an XPath expression to be properly bound to namespace URI strings.
The XPathEvaluator interface can construct an implementation of XPathNSResolver from a node, or the interface may be implemented by any application.



Looks up the namespace URI associated to the given namespace prefix.


  • prefix string. A string representing the prefix to look for.

Returns: Promise<string>

Edit this page on GitHub