[Zope3-dev] Re: tal:define="..." considered harmful?

Andreas Jung lists at andreas-jung.com
Sun Feb 12 13:31:27 EST 2006


--On 12. Februar 2006 19:18:51 +0100 Max M <maxm at mxm.dk> wrote:
>
> <a href="#"
>     tal:attributes="href here/absolute_url;
>                     title here/title;
>                     id here/getId"
>     tal:content="here/Title">Title</a>
>
>
> I could write this:
>
> <a href="here/absolute_url" id="here/getId" title="here/Title"
>     tal:attributes="href; id; title"
>     tal:content="here/Title">Title</a>
>

That's really syntactical sugar. The purpose of the tal: names is clearly
to tell the parser to do _something_ with the value of an attribute. Now
should a parser guess if the value of an attribute is something to be 
processed or not? -1 for such ideas.

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20060212/5e18a109/attachment.bin


More information about the Zope3-dev mailing list