MADRID - China and Spain will on Wednesday sign an accord on the export of Iberian ham to China, a Spanish government source said on Tuesday, in a deal that will include internationally coveted, on-the-bone legs of Iberian pork.

The two countries will also sign a cooperation agreement between the Spanish port of Algeciras and the Chinese port of Ningbo-Zhoushan, the sources said.

These are part of a series of deals to be signed during the visit of Chinese President Xi Jinping, who arrives in Spain later on Tuesday for a two day visit as part of a stop off on his trip to a meeting of G20 leaders in Argentina Friday and Saturday.

(Reporting by Belen Carreno; Writing by Paul Day; Editing by Ingrid Melander) ((paul.e.day@thomsonreuters.com; +34 91 585 21 51; Reuters Messaging: paul.e.day.thomsonreuters.com@reuters.net))