Optionally generate doctype with lowercase prefix