code: protected void appendText(StringBuilder sb, Text aNode) {
          sb.append("<")
              .append(aNode.getParentNode().getNodeName())
              .append(" ...>");
  
          if (aNode instanceof CDATASection) {
              sb.append("<![CDATA[")
                  .append(aNode.getNodeValue())
                  .append("]]>");
          } else {
              sb.append(aNode.getNodeValue());
          }
  
          sb.append("</")
              .append(aNode.getParentNode().getNodeName())
              .append(">");
      }
docs: Formats a text or CDATA node for {@link #getShortString}.
  
  @param sb the builder to append to
  @param aNode the text or CDATA node
  
  @since XMLUnit 2.4.0