(PHP 5)
DOMElement::setIdAttribute — Declares the attribute specified by name to be of type ID
Declares the attribute name to be of type ID.
The name of the attribute.
Set it to TRUE if you want name to be of type ID, FALSE otherwise.
无返回值。
Raised if the node is readonly.
Raised if name is not an attribute of this element.