In Chameleon you can provide a ``doctype`` keyword argument to the template constructor which will act as a default doctype.