(PHP 5)
DOMDocument::createAttribute — Create new attribute
This function creates a new instance of class DOMAttr. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode->appendChild() eingefügt wird.
The name of the attribute.
The new DOMAttr or FALSE if an error occured.
Raised if name contains an invalid character.