Hi, you can take a direct flight from Xian Airport to reach there.
Or you can take Airport Shuttle Bus line 2 to Xian Railway Station to take the only direct train - 2672 to reach there.
Another way is to take a train from Xian to Taiyuan first. Then you can transfer to another train there.