 During the Ming dynasty , the Neo @-@ Confucian doctrines of the Song scholar Zhu Xi were embraced by the court and the Chinese literati at large , although the direct line of his school was destroyed by the Yongle Emperor 's extermination of the ten degrees of kinship of Fang Xiaoru in 1402 . 
