{
Namespace davns = Namespace.getNamespace( "DAV:" );
Element root = new Element("multistatus", davns);
DavItem di = m_provider.getItem( dc.getPath() );
if( di == null )
{
throw new FileNotFoundException( dc.getPath().toString() );
}
for( Iterator i = di.iterator(dc.getDepth()); i.hasNext(); )
{
di = (DavItem) i.next();
Element response = new Element("response", davns);
response.addContent( new Element("href",davns).setText( di.getHref() ) );
Element props = new Element("prop", davns);
Element failedprops = new Element("prop", davns );
//
// Get the matching property set
//
Collection c = di.getPropertySet();
if( askedprops == null )
{
for( Iterator j = c.iterator(); j.hasNext(); )
{