code: public List<XNElement> childrenWithName(final String name) {
          List<XNElement> result = new ArrayList<>();
          for (XNElement c : children) {
              if (Objects.equals(c.name, name)) {
                  result.add(c);
              }
          }
          return result;
      }
docs: Returns an iterator which enumerates all children with the given name.
  @param name the name of the children to select
  @return the iterator