result=parent->AppendChildTo(content, PR_FALSE);
result=parent->AppendChildTo(content, PR_FALSE, PR_FALSE);
nsHTMLFragmentContentSink::SetTitle(const nsString& aValue){  nsresult result=NS_OK;  nsCOMPtr<nsINodeInfo> nodeInfo;  result = mNodeInfoManager->GetNodeInfo(nsHTMLAtoms::title, nsnull,                                          kNameSpaceID_None,                                         *getter_AddRefs(nodeInfo));  if(NS_SUCCEEDED(result)) {    nsCOMPtr<nsIHTMLContent> content=nsnull;    result = NS_NewHTMLTitleElement(getter_AddRefs(content), nodeInfo);    if (NS_SUCCEEDED(result)) {      nsIContent *parent = GetCurrentContent();        if (nsnull == parent) {        parent = mRoot;      }            result=parent->AppendChildTo(content, PR_FALSE);            if (NS_SUCCEEDED(result)) {               result=AddTextToContent(content,aValue);      }    }  }  return result;}