private static void processChildrenWithLocalName(DomElement parent, String localName, Processor<? super DomElement> processor) {
    parent.acceptChildren(element -> {
      if (element.getXmlElementName().equals(localName)) {
        processor.process(element);
      }
    });
  }
private static void processChildrenWithLocalName(DomElement parent, String localName, Processor<? super DomElement> processor)