President Musharraf had planned to attend the opening ceremony in Beijing and meet with Chinese leaders .