@Override
        public void visitDomElement(final DomElement element) {
          if (hasXml(element)) {
            result.add(element);
          }
        }
@Override
        public void visitDomElement(final DomElement element)