code: public String asText() {
      StringBuilder b = new StringBuilder();
  
      for (Element child : children) {
        b.append(child.asText());
      }
  
      return b.toString();
    }
docs: Return a text representation of the element, descending into its children.