to display image and xml document phase-I