Xing received Chinese traditional private education in his childhood. In 1933, he graduated from Fu Jen Catholic University with a diploma in Chemistry. Xing did his postgraduate work at University of Illinois at Urbana–Champaign under Roger Adamss guidance and obtained a doctorate degree in 1936. Later he went to University of Munich, conducting research on bufotoxins at Wielands laboratory.