const nsAString& name=attr->GetKey();
const nsSubstring& name=attr->GetKey();
PRBool DoesRequireBody(CToken* aToken,nsITokenizer* aTokenizer) {  PRBool result=PR_FALSE;  if(aToken) {    eHTMLTags theTag=(eHTMLTags)aToken->GetTypeID();    if(gHTMLElements[theTag].HasSpecialProperty(kRequiresBody)) {      if(theTag==eHTMLTag_input) {        // IE & Nav4x opens up a body for type=text - Bug 66985        PRInt32 ac=aToken->GetAttributeCount();        for(PRInt32 i=0; i<ac; ++i) {          CAttributeToken* attr=NS_STATIC_CAST(CAttributeToken*,aTokenizer->GetTokenAt(i));          const nsAString& name=attr->GetKey();          const nsAString& value=attr->GetValue();          if((name.EqualsLiteral("type") ||               name.EqualsLiteral("TYPE"))                 &&              !(value.EqualsLiteral("hidden") ||              value.EqualsLiteral("HIDDEN"))) {            result=PR_TRUE;             break;          }        }//for      }      else {        result=PR_TRUE;      }    }  }   return result;}