Xavier made hard work of moving to 2-0, but got there in the end.