NS_METHOD SetAttribute(const nsAReadableString& aName, const nsAReadableString& aValue) { return nsGenericElement::SetAttribute(aName, aValue);
nsGenericElement::SetAttribute(const nsString& aName, const nsString& aValue) { if (kStrictDOMLevel2) { PRInt32 pos = aName.FindChar(':'); if (pos >= 0) { nsCAutoString tmp; tmp.AssignWithConversion(aName); printf ("Possible DOM Error: SetAttribute(\"%s\") called, use SetAttributeNS() in stead!\n", (const char *)tmp); }  nsCOMPtr<nsIAtom> tag(dont_AddRef(NS_NewAtom(aName))); return mContent->SetAttribute(kNameSpaceID_None, tag, aValue, PR_TRUE);
  NS_METHOD SetAttribute(const nsAReadableString& aName,                        const nsAReadableString& aValue)  {    return nsGenericElement::SetAttribute(aName, aValue);  }