In this paper we use modified Taylor expansion of order $r$ on spline functions of degrees 0 and 1 to present two Xuli-type operators. Errors of the new operators are analyzed and they are compared with Hermite interpolation operator which uses the same data. Finally the efficiency of this method is shown by presenting some illustrative examples.