code: private String getStringValue(NodeArray nodes) {
          StringBuilder stringBuilder = new StringBuilder();
          // If all we have is just a bunch of nodes and the user wants a string
          // we'll use a parent element called <string> to have a valid XML document
          stringBuilder.append("<string>");
          for (Node node : nodes) {
              stringBuilder.append(getStringValue(node));
          }
          stringBuilder.append("</string>");
          return stringBuilder.toString();
      }
docs: Returns the string value for the node array
  
  @param node
  the node array
  @return the string value for the node array