nsCOMPtr<nsIDOMNode> modelNode = nsXFormsUtils::GetModel(mElement);  nsCOMPtr<nsIModelElementPrivate> model = do_QueryInterface(modelNode);
nsCOMPtr<nsIModelElementPrivate> model = nsXFormsUtils::GetModel(mElement);
nsXFormsOutputElement::WillSetAttribute(nsIAtom *aName, const nsAString &aValue){  if (aName == nsXFormsAtoms::bind ||      aName == nsXFormsAtoms::ref ||      aName == nsXFormsAtoms::model ||      aName == nsXFormsAtoms::value) {    nsCOMPtr<nsIDOMNode> modelNode = nsXFormsUtils::GetModel(mElement);    nsCOMPtr<nsIModelElementPrivate> model = do_QueryInterface(modelNode);        if (model)      model->RemoveFormControl(this);  }  return NS_OK;}