return NS_OK;
nsXFormsItemElement::Refresh(){  // Clear out all of the existing option text  nsCOMPtr<nsIDOMNode> child, child2;  while (NS_SUCCEEDED(mOption->GetFirstChild(getter_AddRefs(child))) && child)    mOption->RemoveChild(child, getter_AddRefs(child2));      // We need to find our label child, serialize its contents  // (which can be xtf-generated), and set that as our label attribute.  nsCOMPtr<nsIDOMNodeList> children;  nsresult rv = mElement->GetChildNodes(getter_AddRefs(children));  if (NS_FAILED(rv))    return;  PRUint32 childCount;  children->GetLength(&childCount);  nsAutoString value;  nsCOMPtr<nsIDOMDocument> doc;  mElement->GetOwnerDocument(getter_AddRefs(doc));  nsCOMPtr<nsIDOMElement> container;  doc->CreateElementNS(NS_LITERAL_STRING(NS_NAMESPACE_XFORMS),                       NS_LITERAL_STRING("contextcontainer-inline"),                       getter_AddRefs(container));  NS_NAMED_LITERAL_STRING(modelStr, "model");  nsAutoString modelID;  mElement->GetAttribute(modelStr, modelID);  container->SetAttribute(modelStr, modelID);  nsCOMPtr<nsIXFormsContextControl> context = do_QueryInterface(container);  context->SetContext(mContextNode, 1, 1);  for (PRUint32 i = 0; i < childCount; ++i) {    children->Item(i, getter_AddRefs(child));    child->GetLocalName(value);    if (value.EqualsLiteral("label")) {      child->GetNamespaceURI(value);      if (value.EqualsLiteral(NS_NAMESPACE_XFORMS)) {        child->CloneNode(PR_TRUE, getter_AddRefs(child2));        container->AppendChild(child2, getter_AddRefs(child));      }    }  }  nsCOMPtr<nsIDOMNode> childReturn;  mOption->AppendChild(container, getter_AddRefs(childReturn));}