PHP | DOMElement setIdAttributeNS() Function
The DOMElement::setIdAttributeNS() function is an inbuilt function in PHP which is used to declare the attribute specified by given local name and namespace URI to be of type ID. Syntax: void DOMElement::setIdAttributeNS( string $namespaceURI, string $localName, bool $isId ) Parameters: This functio