5 in Beijing, 2 in Xian. Domestic airlines inside China are all about the same, just go with best fare and schedule. Or you can take the non-stop overnight train between Beijing and Xian.
Search the web for various weather websites for average temperature.