private static boolean processXmlElements(XmlTag element, PsiElementProcessor<? super XmlTag> processor) {
    if (!_processXmlElements(element, processor)) return false;

    for (PsiElement next = element.getNextSibling(); next != null; next = next.getNextSibling()) {
      if (next instanceof XmlTag) {
        if (!_processXmlElements((XmlTag)next, processor)) return false;
      }
    }

    return true;
  }
private static boolean processXmlElements(XmlTag element, PsiElementProcessor<? super XmlTag> processor)