XMLPrinter printer = new XMLPrinter();
printer.writeXMLHeader();
printer.writeElement("D", "DAV:", E_FIRE_EVENTS, XMLPrinter.OPENING);
for ( Iterator i = events.iterator(); i.hasNext(); ) {
Event event = (Event)i.next();
printer.writeElement("D", E_EVENT, XMLPrinter.OPENING);
Map information = event.getInformation();
for ( Iterator j = information.entrySet().iterator(); j.hasNext(); ) {
Map.Entry entry = (Map.Entry)j.next();
String name = (String)entry.getKey();
String value = (String)entry.getValue();