DomDocument::create_attribute
Create new attribute
&reftitle.description;
domattributeDomDocument::create_attribute
stringname
stringvalue
This function returns a new instance of class
DomAttribute. The name of the attribute is the
value of the first parameter. The value of the attribute is the value of
the second parameter. &node.inserted;
The return value is &false; if an error occurred.
See also domnode_append_child,
domdocument_create_element,
domdocument_create_text,
domdocument_create_cdata_section,
domdocument_create_processing_instruction,
domdocument_create_entity_reference, and
domnode_insert_before.