Early function return if xml get fails