Chinese President Xi Jinping said that "despite a constantly changing international situation", China and Azerbaijan had maintained close ties.