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

Florent Guillaume fg at nuxeo.com
Thu Jul 22 08:09:50 EDT 2004


> 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" />

Well it adds a namespace but it's certainly cleaner to read and write. I
like it.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg at nuxeo.com


More information about the Zope3-dev mailing list