for $d in Root("/EditDB/EditPerson") 
where $d/Person/City = "Toronto" 
return delete document GetDocumentId($d)