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

Martijn Faassen faassen at infrae.com
Fri Jul 23 08:57:26 EDT 2004


Philipp von Weitershausen wrote:

>>
>>   <a attr:xml:lang="here/lang"/>
> 
> 
> 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.

Namespaced attributes in XML are commonly a rare thing too; typically 
only elements are namespaced. Of course, TAL is an exception here. :)

How does this work now with tal:attributes? Is it possible to say 
tal:attributes="foo:bar string:baz" ?

Regards,

Martijn


More information about the Zope3-dev mailing list