A court in Urumqi sentenced eight people to death on Monday for two deadly attacks in Xinjiang from earlier this year.