Added XML preview with auto navigation