Remove all but xml line