Malthe Borch wrote at 2008-8-29 13:20 +0200: > ... >Right, so this is basically a question of whether the following >template is legal or not: > ><div tal:replace="string:hello world!" /> > >In ZPT it would be, because it automatically assumes this namespace >declaration: > > xmlns="http://www.w3.org/1999/xhtml" > xmlns:tal="http://xml.zope. org/namespaces/tal" > xmlns:metal="http://xml.zope.org/namespaces/metal" .
This is correct for HTML PageTemplates; XML PageTemplates, too, require the namespace declarations -- at least this has been the case for the former Zope 2 version of "PageTemplate" (I do not yet know most details about the newer Zope 3 "PageTemplate"). -- Dieter _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )