code: public static List<TextElement> findAllTextElements(XmlElement xmlElement){
          List<TextElement> textElements = new ArrayList<>();
          for (Element element : xmlElement.getElements()){
              if (element instanceof XmlElement){
                  textElements.addAll(findAllTextElements((XmlElement) element));
              } else if (element instanceof TextElement){
                  textElements.add((TextElement) element);
              }
          }
          return textElements;
      }
docs: 查询指定xml下所有text xml 节点
  @param xmlElement
  @return