DOMDocument->createAttribute()
Create new attribute
&reftitle.description;
DOMDocument
DOMAttrcreateAttribute
stringname
This function creates a new instance of class DOMAttr.
&dom.node.inserted;
&reftitle.parameters;
name
The name of the attribute.
&reftitle.returnvalues;
The new DOMAttr or &false; if an error occured.
&reftitle.exceptions;
DOM_INVALID_CHARACTER_ERR
Raised if name contains an invalid character.
&reftitle.seealso;