PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

 
Last updated: Fri, 29 Aug 2008

view this page in

DOMElement::setAttributeNS

(No version information available, might be only in CVS)

DOMElement::setAttributeNS新しい属性を追加する

説明

void DOMElement::setAttributeNS ( string $namespaceURI , string $qualifiedName , string $value )

名前空間 namespaceURI にある localName という名前の属性を、指定した値に設定します。 属性が存在しない場合は、作成されます。

パラメータ

namespaceURI

名前空間 URI。

qualifiedName

prefix:tagname 形式で表した属性名。

value

属性の値。

返り値

値を返しません。

エラー / 例外

DOM_NO_MODIFICATION_ALLOWED_ERR

ノードが読み込み専用の場合に発生します。

DOM_NAMESPACE_ERR

qualifiedName が不正な形式であった場合や、 qualifiedName がプレフィックスを含むにもかかわらず namespaceURINULL の場合に発生します。



add a note add a note User Contributed Notes
DOMElement::setAttributeNS
There are no user contributed notes for this page.

 
Last updated: Fri, 29 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites