public String outputString(List list) {
    StringWriter out = new StringWriter();
    try {
      printContentRange(out, list, 0, list.size(), 0, new NamespaceStack());
    }
    catch (IOException ignored) {
    }
    return out.toString();
  }
public String outputString(List list)