nsXMLElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, nsIAtom* aPrefix, const nsAString& aValue, PRBool aNotify) { if (aNameSpaceID == kNameSpaceID_XLink && aName == nsHTMLAtoms::type) {      mIsLink = aValue.Equals(NS_LITERAL_STRING("simple"));
nsresult SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, const nsAString& aValue, PRBool aNotify) { return SetAttr(aNameSpaceID, aName, nsnull, aValue, aNotify);
nsXMLElement::SetAttr(PRInt32 aNameSpaceID, nsIAtom* aName, nsIAtom* aPrefix,                      const nsAString& aValue, PRBool aNotify){  if (aNameSpaceID == kNameSpaceID_XLink && aName == nsHTMLAtoms::type) {     // NOTE: This really is a link according to the XLink spec,    //       we do not need to check other attributes. If there    //       is no href attribute, then this link is simply    //       untraversible [XLink 3.2].    mIsLink = aValue.Equals(NS_LITERAL_STRING("simple"));    // We will check for actuate="onLoad" in MaybeTriggerAutoLink  }  return nsGenericElement::SetAttr(aNameSpaceID, aName, aPrefix, aValue,                                   aNotify);}