setAttributeNS()"HREF="function.dom-domelement-setattributens.html"> Manuál PHP Předch..."/>
Forum und email
DOMElement->setAttributeNodeNS()

DOMElement->setAttributeNodeNS()

(no version information, might be only in CVS)

DOMElement->setAttributeNodeNS() -- Adds new attribute node to element

Popis

class DOMElement {

DOMAttr setAttributeNodeNS ( DOMAttr attr )

}

Adds new attribute node attr to element.

Seznam parametrů

name

The attribute node.

Návratové hodnoty

Returns the old node if the attribute has been replaced.

Errors/Exceptions

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.