nsGenericElement::SetAttribute(const nsAString& aName, const nsAString& aValue) { nsCOMPtr<nsINodeInfo> ni; NormalizeAttrString(aName, *getter_AddRefs(ni)); return NS_STATIC_CAST(nsIContent *, this)->SetAttr(ni, aValue, PR_TRUE); }
nsresult    SetAttribute(const nsString& aName, const nsString& aValue) { return nsGenericElement::SetAttribute(aName, aValue); }
nsGenericElement::SetAttribute(const nsAString& aName,                               const nsAString& aValue){  nsCOMPtr<nsINodeInfo> ni;  NormalizeAttrString(aName, *getter_AddRefs(ni));  return NS_STATIC_CAST(nsIContent *, this)->SetAttr(ni, aValue, PR_TRUE);}