nsresult SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, const nsAString& aValue, PRBool aNotify) { return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify); }
nsXULElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, const nsAString& aValue, PRBool aNotify) { nsCOMPtr<nsINodeInfoManager> nimgr;  NodeInfo()->GetNodeInfoManager(getter_AddRefs(nimgr)); NS_ENSURE_TRUE(nimgr, NS_ERROR_FAILURE);  nsCOMPtr<nsINodeInfo> ni; nimgr->GetNodeInfo(aName, nsnull, aNameSpaceID, getter_AddRefs(ni));  return SetAttr(ni, aValue, aNotify); }
    nsresult SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,                     const nsAString& aValue, PRBool aNotify)    {      return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify);    }