writer.writeXMLHeader();
writer.open( "multistatus xmlns:D" + "=\"" + WebDavProtocol.NS_DAV + ":\"" ); // only single namespace for this method
writer.newLine();
for( HrefStatus status : statii ) {
XmlWriter.Element elResponse = writer.begin( "response" ).open();
writer.writeProperty( "", "href", status.href );
writer.writeProperty( "", "status", status.status.code + "" );
elResponse.close();
}
writer.close( "multistatus" );
writer.flush();