(PHP 5)
DOMElement::setIdAttributeNS — Declares the attribute specified by local name and namespace URI to be of type ID
Declares the attribute specified by localName and namespaceURI to be of type ID.
The namespace URI of the attribute.
The local name of the attribute, as prefix:tagname.
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.