A Chinese court on Monday condemned 12 people to death and gave another 15 suspended death sentences in connection with a July attack in violence-wracked Xinjiang, the regional government's Tianshan portal said.