[Zope3-dev] Re: idea: attr:foo addition to tal
Dmitry Vasiliev
lists at hlabs.spb.ru
Fri Jul 23 12:29:47 EDT 2004
Philipp von Weitershausen wrote:
> Using namespaces in XHTML is a rare case; however, we don't want to
> limit Page Templates to non-namespaced XML templates. But since it's a
> rare case, it wouldn't hurt falling back to tal:attributes there.
>
> Or, we could have a different separate, e.g.:
>
> <a attr:xml#lang="here/lang" />
>
> Then again, I would have to read the spec to see if # or similar are
> allowed in attribute names...
Maybe just:
<a attrs="href item/url" />
So, from template developers point of view we only change
'tal:attributes' to 'attrs'. :-)
Or even:
<a href="path:item/url" />
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the Zope3-dev
mailing list