Former Barcelona and Spain midfielder Xavi Hernandez will retire at the end of the season to move into coaching, calling time on a trophy-laden career spanning two decades. Xavi, who has made a record 767 appearances for Barca and 133 for Spain, confirmed his retirement plans in an open letter sent to members of the Spanish media on Thursday.