downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<DOMElement::setAttributeDOMElement::setAttributeNodeNS>
Last updated: Thu, 26 Jun 2008

DOMElement::setAttributeNode

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

DOMElement::setAttributeNode — Adds new attribute node to element

Description

DOMAttr DOMElement::setAttributeNode ( DOMAttr $attr )

Adds new attribute node attr to element.

Parameters

attr

The attribute node.

Return Values

Returns old node if the attribute has been replaced or NULL.

Errors/Exceptions

DOM_NO_MODIFICATION_ALLOWED_ERR

Raised if the node is readonly.



add a noteadd a note User Contributed Notes
Adds new attribute node to element
There are no user contributed notes for this page.




<DOMElement::setAttributeDOMElement::setAttributeNodeNS>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs