lookupNamespaceURI
method looks up the namespace URI associated to the given namespace prefix within an
XPath
expression evaluated by the
XPathEvaluator
接口。
DOMString XPathNSResolver.lookupNamespaceURI(prefix);
DOMString
representing the prefix to look for.
A
DOMString
representing the associated namespace URI or
null
若找不到。
| 规范 | 状态 | 注释 |
|---|---|---|
|
DOM (文档对象模型) 3 级 XPath 规范
The definition of 'XPathNSResolver.lookupNamespaceURI()' in that specification. |
推荐 | 初始定义 |
No compatibility data found. Please contribute data for "api.XPathNSResolver.lookupNamespaceURI" (depth: 1) to the MDN 兼容性数据存储库 .
XPathNSResolver
lookupNamespaceURI()