simplify grabbing of a xml base doc