docs: private String readContent(java.io.InputStream in) throws Exception {
  
          StringBuffer resultBuffer = new StringBuffer();
          SAXReader reader = new SAXReader();
          Document doc = reader.read(in);
          List<Node> textlist = CmsXmlGenericWrapper.selectNodes(doc, "//text:p[@*] | //text:span[@*]");
          Iterator<Node> li = textlist.iterator();
          while (li.hasNext()) {
              Node textNode = li.next();
              String text = textNode.getText();
              if (text.length() > 1) {
                  text = " " + text + " ";
                  resultBuffer.append(text);
              }
          }
          return resultBuffer.toString();
      }