[Zope] METAL and DOCTYPE
Fred Yankowski
fred@ontosys.com
Mon, 20 Jan 2003 11:01:49 -0600
On Mon, Jan 20, 2003 at 10:07:37AM +0100, Geir B?kholt wrote:
> You can easily use included doctypes with the current implementation.
> As you may use properly namespaced roll-your-own xml-elements in ZPTs, there
> is really no need to tie your macros to the html-element...
Aha, you're right, and that's the trick. Actually, I'm surprised that
ZPT allows a DOCTYPE declaration appear in the content of any element;
is that well-formed XML?
> <metal:page use-macro="here/standard_template.pt/macros/page">
Shouldn't that be a define-macro attribute (and appropriate value) in
that metal:page tag, rather than use-macro?
--
Fred Yankowski fred@ontosys.com tel: +1.630.879.1312
OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370
www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA