[Zope3-dev] IMPORTANT RFS: Through the Web Site Development

Steve Alexander steve@cat-box.net
Wed, 15 Jan 2003 18:46:04 +0200


>>ZPT:  Hello <b><tal:tag replace="name"/></b>, how are you?
> 
> 
> Wow, that's news to me!  Is this TAL tag form documented anywhere? 
> This is the first I've heard of it.  The text "tal:tag" does not
 > appear in any of the Zope Book ZPT chapters that I could find.

Because of the way TAL uses XML namespaces, you can call an element 
"tal:whateveryoulike". All of its attributes will be in the 'tal:' 
namespace by default. So, you could say:

   <tal:foo tal:replace="name" />

Which is equivalent to

   <tal:bar tal:replace="name" />

Which is equivalent to

   <tal:baz replace="name" />

--
Steve Alexander