[Zope-dev] ZPT & Plain Text

Florent Guillaume fg@nuxeo.com
6 Dec 2001 12:06:00 GMT


> <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.


Florent

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