Add xpath for the view.