PHP 手冊
上一頁 |  | 下一頁

# DOMElement->setAttributeNS

(no version information, might be only in CVS)

DOMElement->setAttributeNS -- Adds new attribute

## Description

void DOMElement->setAttributeNS ( string namespaceURI, string qualifiedName, string value)

Sets an attribute with namespace namespaceURI and name name to the given value. If the attribute does not exist, it will be created.

Throws DOMExcpetion if node cannot be modified.

See also DOMElement->getAttributeNS()

上一頁 | 最開頭 | 下一頁
DOMElement->setAttributeNodeNS | 上一層 | DOMImplementation->createDocument