public setIdAttributeNode(idAttr as Attr, isId as Boolean) as Void throws DOMException
Marks an attribute node as an identifier attribute.
element.setIdAttributeNode(attr, true)