diff options
Diffstat (limited to 'files/zh-cn/web/api/node/lookupnamespaceuri/index.html')
| -rw-r--r-- | files/zh-cn/web/api/node/lookupnamespaceuri/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/node/lookupnamespaceuri/index.html b/files/zh-cn/web/api/node/lookupnamespaceuri/index.html new file mode 100644 index 0000000000..f2cf78b283 --- /dev/null +++ b/files/zh-cn/web/api/node/lookupnamespaceuri/index.html @@ -0,0 +1,19 @@ +--- +title: Node.lookupNamespaceURI +slug: Web/API/Node/lookupNamespaceURI +translation_of: Web/API/Node/lookupNamespaceURI +--- +<div>{{APIRef("DOM")}}</div> + +<p>返回当前节点上与指定命名空间前缀绑定的命名空间URI,如果没有,返回<code>null,如果参数为null</code>,返回默认的命名空间.</p> + +<p>根据 <a class="link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=312019" rel="external" title="https://bugzilla.mozilla.org/show_bug.cgi?id=312019">bug 312019</a>, 该方法对动态指定的命名空间不起作用.(也就是通过<a href="../../en/DOM/Node.prefix" rel="internal" title="En/DOM/Node.prefix">Node.prefix</a>指定的).</p> + +<h3 id="相关链接">相关链接</h3> + +<ul> + <li><a class="external" href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI" rel="freelink">http://www.w3.org/TR/DOM-Level-3-Cor...upNamespaceURI</a></li> + <li><a href="/zh-cn/Code_snippets/LookupNamespaceURI" title="zh-cn/Code_snippets/LookupNamespaceURI">Code snippets: lookupNamespaceURI</a></li> +</ul> + +<p>{{ languages( { "en": "en/DOM/Node.lookupNamespaceURI" } ) }}</p> |
