您正位於 MDN Web Docs 的可編輯版本

以 MDN Web Docs 使用者身分檢視: https://developer.mozilla.org/zh-TW/docs/Web/API/XPathNSResolver

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

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.

Methods

XPathNSResolver.lookupNamespaceURI()
Looks up the namespace URI associated to the given namespace prefix.

Specifications

Specification Status Comment
Document Object Model (DOM) Level 3 XPath Specification
The definition of 'XPathNSResolver' in that specification.
Recommendation Initial definition

Browser compatibility

No compatibility data found. Please contribute data for "api.XPathNSResolver" (depth: 1) to the MDN compatibility data repository.

See also

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, Sebastianz
最近更新: mdnwebdocs-bot,