Map<String, String> mapOfNamespaces = helper.findNameSpaces( propFindResponses );
ByteArrayOutputStream generatedXml = new ByteArrayOutputStream();
XmlWriter writer = new XmlWriter( generatedXml );
writer.writeXMLHeader();
writer.open(WebDavProtocol.NS_DAV.getPrefix() ,"multistatus" + helper.generateNamespaceDeclarations( mapOfNamespaces ) );
writer.newLine();
helper.appendResponses( writer, propFindResponses, mapOfNamespaces );
writer.close(WebDavProtocol.NS_DAV.getPrefix(),"multistatus" );
writer.flush();
// log.debug( generatedXml.toString() );
helper.write( generatedXml, responseOutput );