return AttributeToString(nsHTMLAtoms::type, nsHTMLValue(mType, eHTMLUnit_Enumerated), aType);
if (aType) { *aType = mType; return NS_OK; } else { return NS_FORM_NOTOK; }
nsHTMLButtonElement::GetType(nsString& aType){  return AttributeToString(nsHTMLAtoms::type,                           nsHTMLValue(mType, eHTMLUnit_Enumerated),                           aType);}