changed internal XML storage