while (elem != NULL && elem->GetDOMNode() == NULL) elem = elem->GetParent();  return (elem != NULL) ? elem->GetDOMNode() : NULL;
return (elem != NULL) ? findDOMNode(elem) : NULL;
gtk_math_view_get_selection(GtkMathView* math_view){  g_return_val_if_fail(math_view != NULL, NULL);  g_return_val_if_fail(math_view->interface != NULL, 0);  MathMLElement* elem = math_view->interface->GetSelected();  while (elem != NULL && elem->GetDOMNode() == NULL)     elem = elem->GetParent();  return (elem != NULL) ? elem->GetDOMNode() : NULL;}