[ZPT] DOCTYPES and metal

Evan Simpson evan@zope.com
Fri, 01 Mar 2002 09:38:27 -0500


Tony McDonald wrote:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>         "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
> <html metal:define-macro="master">

You *could* do something like this:

<metal:block define-macro="pre">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
         "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
</metal:block>
<html metal:define-macro="master">

...and use both macros.  Its annoying, and there is a better solution in 
the works, but I don't know when it will be ready.

Cheers,

Evan @ Zope