diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-22 22:31:10 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-29 21:52:07 +0900 |
commit | ed21c774195b3de0b22ca8a4a902e2a3fe9a934a (patch) | |
tree | bfae7c2c20ff721e24f0682f4e20b070d20af9af /files/ja/web/api/element/getattributenodens/index.html | |
parent | cce4f6a5c84cf30acc949b5113d417f1c55fd275 (diff) | |
download | translated-content-ed21c774195b3de0b22ca8a4a902e2a3fe9a934a.tar.gz translated-content-ed21c774195b3de0b22ca8a4a902e2a3fe9a934a.tar.bz2 translated-content-ed21c774195b3de0b22ca8a4a902e2a3fe9a934a.zip |
Element.getAttributeNodeNS() を移行
Diffstat (limited to 'files/ja/web/api/element/getattributenodens/index.html')
-rw-r--r-- | files/ja/web/api/element/getattributenodens/index.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/files/ja/web/api/element/getattributenodens/index.html b/files/ja/web/api/element/getattributenodens/index.html deleted file mode 100644 index fb48807b05..0000000000 --- a/files/ja/web/api/element/getattributenodens/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: element.getAttributeNodeNS -slug: Web/API/Element/getAttributeNodeNS -tags: - - DOM - - Gecko - - 翻訳中 -translation_of: Web/API/Element/getAttributeNodeNS ---- -<p>{{ ApiRef("DOM") }}<span class="comment">== Summary ==</span></p> - -<h3 id=".E6.A6.82.E8.A6.81" name=".E6.A6.82.E8.A6.81">概要</h3> - -<p><span class="comment">Returns the <code>Attr</code> node for the attribute with the given namespace and name.</span> getAttributeNodeNS は指定の名前空間と名前の属性に対する Attr ノードを返します。<span class="comment">== Syntax ==</span></p> - -<h3 id=".E6.A7.8B.E6.96.87" name=".E6.A7.8B.E6.96.87">構文</h3> - -<pre class="eval"><em>attributeNode</em> = element.getAttributeNodeNS(<em>namespace</em>, <em>nodeName</em>) -</pre> - -<p><span class="comment">* <code>attributeNode</code> is the node for specified attribute. * <code>namespace</code> is a string specifying the namespace of the attribute. * <code>nodeName</code> is a string specifying the name of the attribute.</span></p> - -<ul> - <li><code>attributeNode</code> は指定された属性に対するノードです。</li> - <li><code>namespace</code> は属性の名前空間を特定する文字列です。</li> - <li><code>nodeName</code> は属性の名前を指定する文字列です。<span class="comment">== Example == == 例 == TBD The example needs to be fixed TBD この例は修正の必要があります。 <pre> // html: <div id="top" /> t = document.getElementById("top"); specialNode = t.getAttributeNodeNS( "<a class="external" href="http://www.mozilla.org/ns/specialspace" rel="freelink">http://www.mozilla.org/ns/specialspace</a>", "id"); // iNode.value = "full-top" </pre>== Notes</span></li> -</ul> - -<h3 id=".E6.B3.A8.E8.A8.98" name=".E6.B3.A8.E8.A8.98">注記</h3> - -<p><span class="comment"><code>getAttributeNodeNS</code> is more specific than <a href="/ja/DOM/element.getAttributeNode">getAttributeNode</a> in that it allows you to specify attributes that are part of a particular namespace. The corresponding setter method is <a href="/ja/DOM/element.setAttributeNodeNS">setAttributeNodeNS</a>.</span> <code>getAttributeNodeNS</code> は特定の名前空間の一部である属性を指定できるという点で <a href="/ja/DOM/element.getAttributeNode">getAttributeNode</a>より特殊です。対応するsetterメソッドは<a href="/ja/DOM/element.setAttributeNodeNS">setAttributeNodeNS</a>です。</p> - -<p>{{ DOMAttributeMethods() }}<span class="comment">== Specification ==</span></p> - -<h3 id=".E4.BB.95.E6.A7.98" name=".E4.BB.95.E6.A7.98">仕様</h3> - -<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-ElGetAtNodeNS">DOM Level 2 Core: getAttributeNodeNS</a></p> |