[ZPT] DOCTYPES and metal

Evan Simpson evan@zope.com
Mon, 04 Mar 2002 12:34:10 -0500


Michael R. Bernstein wrote:
>>...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.
>>
> 
> What's the better solution?

The ability to use PIs like this:

<?xml version="1.0"?>
<?metal define-macro="page"?>
<!DOCTYPE ...>
<html>
...
</html>

----------

<?xml version="1.0"?>
<?metal use-macro="here/standard_template.pt/macros/page?>
<!DOCTYPE ...>
<html>
...
</html>