@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
    return file.getLanguage().isKindOf(XMLLanguage.INSTANCE) &&
           getText(editor, file) != null &&
           !file.getLanguage().isKindOf(HTMLLanguage.INSTANCE);
  }
@Override
  public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file)