nsGenericElement::SetAttribute(const nsAReadableString& aName, const nsAReadableString& aValue) { nsCOMPtr<nsINodeInfo> ni; NormalizeAttributeString(aName, *getter_AddRefs(ni)); return NS_STATIC_CAST(nsIContent *, this)->SetAttribute(ni, aValue, PR_TRUE); }
NS_METHOD SetAttribute(const nsAString& aName, const nsAString& aValue) { return nsGenericElement::SetAttribute(aName, aValue); }
nsGenericElement::SetAttribute(const nsAReadableString& aName,                               const nsAReadableString& aValue){  nsCOMPtr<nsINodeInfo> ni;  NormalizeAttributeString(aName, *getter_AddRefs(ni));  return NS_STATIC_CAST(nsIContent *, this)->SetAttribute(ni, aValue, PR_TRUE);}