[Zope3-dev] idea: attr:foo addition to tal

Steve Alexander steve at z3u.com
Thu Jul 22 05:12:54 EDT 2004


I was writing yet another tal:attributes expression, when I had the 
following idea.

How about if there were an 'attr' namespace that the tales interpreter 
understands that replaces attributes?

So, instead of

   <a tal:attributes="href item/url" tal:content="item/description" />

we get

   <a attr:href="item/url" tal:content="item/description" />

-- 
Steve Alexander


More information about the Zope3-dev mailing list