[Zope] Adding Custom Namespaces to ZPT?

Hartmut Goebel h.goebel@goebel-consult.de
Wed, 28 May 2003 18:39:10 +0200


Hi,

I want to add custom namespaces and/or entities to ZPT. How can I do 
this? I tried searching the web, but did not find a sollution.

What I want to do is something like this:

   <my-ns:email name="Egon Meier" />
or
   &author;   # link to author's mail-address

I know, this is possible using TAL/METAL and tags like
   <span metal:replace="python:my_ns.email(name='Egon Meier')" />
but this is obvious a bit longish and clumsy to type.

Any hints for solving this?

+++hartmut