The Beijing west train station is where trains for Xi'An depart. It is huge and somewhat of a mess. Check this video to save you some aggravation before you leave.
Visit our channel to learn more about train travel and train stations in China: http://www.dailymotion.com/china-diy-travel-video
To consult online timetables and buy train tickets, visit https://www.china-diy-travel.com/en