According to Baidu map query, you can buy tickets at Kunming South Railway Station or Kunming Station to take the high-speed train from Kunming to Xishuangbanna. There are many flights, and the direct flight takes at least three hours to arrive.
Xishuangbanna is an autonomous prefecture and prefecture-level administrative region under the jurisdiction of Yunnan Province, located at the southernmost tip of Yunnan Province in People's Republic of China (PRC).