nsGenericHTMLElement::SetAttribute(nsINodeInfo* aNodeInfo, const nsString& aValue, PRBool aNotify) { NS_ENSURE_ARG_POINTER(aNodeInfo);  nsCOMPtr<nsIAtom> atom; PRInt32 nsid;  aNodeInfo->GetNameAtom(*getter_AddRefs(atom)); aNodeInfo->GetNamespaceID(nsid);    return SetAttribute(nsid, atom, aValue, aNotify); }
NS_METHOD SetAttribute(const nsAString& aName, const nsAString& aValue) { return nsGenericHTMLElement::SetAttribute(aName, aValue); }
nsGenericHTMLElement::SetAttribute(nsINodeInfo* aNodeInfo,                                   const nsString& aValue,                                   PRBool aNotify){  NS_ENSURE_ARG_POINTER(aNodeInfo);  nsCOMPtr<nsIAtom> atom;  PRInt32 nsid;  aNodeInfo->GetNameAtom(*getter_AddRefs(atom));  aNodeInfo->GetNamespaceID(nsid);  // We still rely on the old way of setting the attribute.  return SetAttribute(nsid, atom, aValue, aNotify);}