@Override
      public boolean execute(final @NotNull PsiElement element) {
        if (element instanceof XmlElementDecl ||
            element instanceof XmlEntityDecl) {
          elements.add(new DtdTreeElement((PsiNamedElement)element));
        }
        return true;
      }
@Override
      public boolean execute(final @NotNull PsiElement element)