xml read prepare