Sergio Mattarella met Chinese leader Xi Jinping on an official visit to China.