public static void writeXmlData(OutputStream out, DataContext profileData,
List<String> projectPaths, ResultSet data) throws IOException {
XmlSerializer xml = XMLUtils.getXmlSerializer(true);
xml.setOutput(out, ENCODING);
xml.startDocument(ENCODING, null);
xml.startTag(null, "dataroot");
xml.attribute(null, "xmlns:od", OD_NAMESPACE_ATTR);
xml.attribute(null, "generated", DATE_FMT.format(new Date()));