r = new RemoteXMLResource(this, -1, -1, dp.getName(), null, indentXML, encoding); r.setSAXDocEvents(this.saxDocumentEvents);
r = new RemoteXMLResource(this, -1, -1, dp.getName(), null);
	public Resource getResource(String id) throws XMLDBException {		if (childCollections == null)			readCollection();		int rlen = resources.size();		for (int i = 0; i < rlen; i++) {			DocumentProxy dp = (DocumentProxy) resources.get(i);			RemoteXMLResource r;			if (dp.getName().equals(id)) {				r = new RemoteXMLResource(this, -1, -1, dp.getName(), null, indentXML, encoding);				r.setSAXDocEvents(this.saxDocumentEvents);				r.setPermissions(dp.getPermissions());				return r;			}		}		return null;	}