improve XMLViewer
improve XMLViewer