Could Taoist priest marry?

The priests of Zhengyi Taoist sects are almost always married. However, the Quanzhen clergy do not marry and live in monasteries.