Takes given DomNode as a DomAttr and use its name and value to set a property in DomElement ignoring node's prefix and namespace