child->GetNextSibling(&child);
nsCOMPtr<nsIDOMNode> temp = child; temp->GetNextSibling(getter_AddRefs(child));
nsHTMLTableElement::GetCaption(nsIDOMHTMLTableCaptionElement** aValue){  *aValue = nsnull;  nsIDOMNode* child=nsnull;  mInner.GetFirstChild(&child);  while (nsnull!=child)  {    nsIDOMHTMLTableCaptionElement *caption=nsnull;    nsresult rv = child->QueryInterface(kIDOMHTMLTableCaptionElementIID, (void**)&caption);    if ((NS_SUCCEEDED(rv)) && (nsnull!=caption))    {      *aValue = caption;      break;    }    child->GetNextSibling(&child);  }  return NS_OK;}