Chinese President Xi Jinping on Wednesday congratulated To Lam on his assuming office as president of the Socialist Republic of Vietnam.