nsAutoString value; mElement->GetAttribute(NS_LITERAL_STRING("selected"), value); if (value.EqualsLiteral("true") || value.EqualsLiteral("1")) { mCachedSelectedAttr = PR_TRUE; }
nsXFormsCaseElement::WidgetAttached(){  nsCOMPtr<nsIXFormsCaseUIElement> caseUI(do_QueryInterface(mElement));  if (caseUI) {    caseUI->CaseSelected(mSelected);  }  return NS_OK;}