[ZPT] DTD in template

Dmitry Matveev Dmitry Matveev <matveev@prime.ru>
Wed, 2 Apr 2003 14:59:10 +0600


Hello all!
Is the better way to add DTD in template?
It will be clearly to use html-tag for macro-fefinition.

<div  metal:define-macro="master" tal:omit-tag="">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title tal:content="template/title">The title</title>
  </head>
  <body>
<div metal:define-slot="main">
  This is the main block. It contains everything.
</div>
  </body>
</html>
</div>


  

-- 
Best regards,                          www.uralfirm.ru
Dmitry Matveev                         mailto:matveev@uralfirm.ru