The Tongdian is a Chinese institutional history and encyclopedia text. It covers a panoply of topics from high antiquity through the year 756, whereas a quarter of the book focuses on the Tang dynasty. The book was written by Du You from 766 to 801. It contains 200 volumes and about 1.7 million words, and is at times regarded as the most representative contemporary texts of the Tang dynasty. Du You also incorporated many materials from other sources, including a book written by his nephew, Du Huan, who was taken captive in the famous battle at the Talas River between Tang and the Arabs in 751 and did not return to China until ten years later. It became a model for works by scholar Zheng Qiao and Ma Duanlin centuries later.[1]
Robert G. Hoyland relates that the Tongdians first draft was a "history of human institutions from earliest times down to the reign of Emperor Xuanzong of Tang", and was subsequently revised as matters continued to evolve.[2] It incorporates parts of the Zhengdian of Liu Zhi and the Great Tang Ritual Regulations of the Kaiyuan Era compiled by Xiao Song, and others in 732.[3] The Tongdian was never included in the canon of the Twenty-Four Histories. It was however quoted extensively in several books which were, starting with the Old Book of Tang.