[Zope-dev] ZPT & Plain Text

Chris Withers chrisw@nipltd.com
Thu, 06 Dec 2001 12:32:45 +0000


Florent Guillaume wrote:
> 
> > <x tal:repeat="object here/collection"
> >    tal:omit-tag="">
> > I am <y tal:replace="object/id" />
> > </x>
> 
> Everybody keeps forgetting it, but this should work:
> 
> <tal:loop repeat="object here/collection">
>   I am <y tal:replace="object/id" />
> </tal:loop>
> 
> Because tags in the 'tal' namespace are stripped.
> 
> I could have used "dummy" instead of "loop" though.

I did forget that, and that makes it even better :-)

Thanks Florent...

Chris