The outlines of an agreement to resolve the 35-day standoff at the Church of the Nativity in Bethlehem were taking shape today, but the sides remained at odds on several issues including how many of the wanted Palestinians inside the Christian shrine would be deported.