Deliverance can produce output as HTML or XHTML. On each request, it determines the output format by looking for DOCTYPE declarations in the theme and content. The precedence rules it uses are:
This allows the integrator to override the output format by specifying a doctype in the theme.