@Override
  public @NotNull GenerationNode filterNode(final @NotNull GenerationNode node) {
    TemplateToken token = node.getTemplateToken();
    final XmlTag tag = token != null ? token.getXmlTag() : null;
    if (tag != null) {
      if (token.getAttributes().containsKey(SELECT_ATTR_NAME)) {
        return node;
      }
      if (isOurTag(tag, !node.getChildren().isEmpty())) {
        XmlAttribute attribute = tag.getAttribute(SELECT_ATTR_NAME);
        if (attribute != null) {
          //fake file processing, no write-action needed
          attribute.delete();
        }
      }
      return node;
    }
    return node;
  }
@Override
  public @NotNull GenerationNode filterNode(final @NotNull GenerationNode node)