DOMElement::setAttributeNodeNS
(PHP 5)
DOMElement::setAttributeNodeNS — 新しい属性ノードを要素に追加する
パラメータ
- name
-
属性ノード。
返り値
属性が置換された場合は置換前のノードを返します。
エラー / 例外
- DOM_NO_MODIFICATION_ALLOWED_ERR
-
ノードが読み込み専用の場合に発生します。
参考
- DOMElement::hasAttributeNS - 属性が存在するかどうかを調べる
- DOMElement::getAttributeNodeNS - 属性ノードを返す
- DOMElement::removeAttributeNode - 属性を削除する
DOMElement::setAttributeNodeNS
There are no user contributed notes for this page.
