A Chinese foreign ministry spokesman says talks could be held with the Dalai Lama if he recognises Tibet and Taiwan as parts of China.