China 's Xinhua news agency reports the top Communist Party official in a northern Chinese city and 26 other officials have gone on trial for their alleged involvement in a deadly attack on a shantytown .