NS_NAMED_LITERAL_STRING(repIndex, "repeat-index");
mHasIndex = aHasIndex; NS_NAMED_LITERAL_STRING(classStr, "class");
nsXFormsContextContainer::SetIndexState(PRBool aHasIndex){  if (mElement) {    NS_NAMED_LITERAL_STRING(repIndex, "repeat-index");    if (aHasIndex) {      mElement->SetAttribute(repIndex,                             NS_LITERAL_STRING("1"));    } else {      mElement->RemoveAttribute(repIndex);    }  }  return NS_OK;}