writer.startElement("list", namespace);
writer.addAttribute("printOrder", list.getPrintOrderValue());
writer.addAttribute("ignoreWidth", list.getIgnoreWidth());
reportWriter.writeDatasetRun(list.getDatasetRun());
ListContents contents = list.getContents();
writer.startElement("listContents");
writer.addAttribute("height", contents.getHeight());
writer.addAttribute("width", contents.getWidth());
reportWriter.writeChildElements(contents);
writer.closeElement();
writer.closeElement();
}