Nothing is known so far about the motivation behind the attack, in which 109 people are said to have been hurt.
Xinhua gave few further details, and the men responsible have not been identified.
A local television station said several of the attackers had been shot by police, according to Associated Press.
Chinese state television described the incident as a “violent terror attack”.
Eyewitnesses said that the men started attacking people at random.
Social media users in China have been posting pictures of the attack on the internet, but correspondents say they are being taken down.
Mass stabbings are not uncommon in China, but none have been recently reported on this scale.
c1u50_BWSToThe US House Ethics Committee has voted to release its report on former Republican Representative…
ABC News has agreed to pay $15 million to President-elect Donald Trump to settle a…
South Korea’s parliament has voted to impeach President Yoon Suk Yeol over his failed attempt…
Israeli war planes have carried out more than 100 air strikes in Syria on December…
President-elect Donald Trump has threatened to impose 100% tariffs on the BRICS countries if they…
Syrian troops have withdrawn from the city of Aleppo following an offensive by rebels opposed…