NS_CreateHTMLElement(nsIHTMLContent** aResult, nsINodeInfo *aNodeInfo)
NS_CreateHTMLElement(nsIHTMLContent** aResult, nsINodeInfo *aNodeInfo, PRBool aCaseSensitive)
NS_CreateHTMLElement(nsIHTMLContent** aResult, nsINodeInfo *aNodeInfo){  nsresult rv = NS_OK;  NS_WITH_SERVICE(nsIParserService,                  parserService,                   kParserServiceCID,                  &rv);  if (NS_SUCCEEDED(rv)) {    nsAutoString tmpName;    aNodeInfo->GetName(tmpName);    // Find tag in tag table    PRInt32 id;     nsAutoString tag;    rv = parserService->HTMLStringTagToId(tmpName, &id);    if (eHTMLTag_userdefined == nsHTMLTag(id))    {      tag = tmpName;    }    else    {      // Create atom for tag and then create content object      rv = parserService->HTMLIdToStringTag(id, tag);    }    nsCOMPtr<nsIAtom> atom(dont_AddRef(NS_NewAtom(tag.GetUnicode())));    nsCOMPtr<nsINodeInfo> newName;    aNodeInfo->NameChanged(atom, *getter_AddRefs(newName));    rv = MakeContentObject(nsHTMLTag(id), newName, nsnull, nsnull, aResult);  }  return rv;}