nsresult rv = mElement->GetChildNodes(getter_AddRefs(children));
nsresult rv = container->GetChildNodes(getter_AddRefs(children));
nsXFormsItemElement::GetValue(nsString &aValue){  // Find our value child and get its text content.  nsCOMPtr<nsIDOMNodeList> children;  nsresult rv = mElement->GetChildNodes(getter_AddRefs(children));  NS_ENSURE_SUCCESS(rv, rv);  PRUint32 childCount;  children->GetLength(&childCount);  nsCOMPtr<nsIDOMNode> child;  nsAutoString value;  for (PRUint32 i = 0; i < childCount; ++i) {    children->Item(i, getter_AddRefs(child));    nsCOMPtr<nsIXFormsValueElement> valueElement = do_QueryInterface(child);    if (valueElement) {      return valueElement->GetValue(aValue);    }  }       // No value children, so our value is empty  aValue.Truncate(0);  return NS_OK;}