Tonico Strasser wrote:

> Just for my understanding: would it be possible to dynamically create
> macros with strictinsert=True?:

It means that if <div tal:content="structure foo/bar" /> is interpreted
with strictinsert=True on the TALInterpreter used, foo/bar had better
resolve to something well-formed.

> <div
>    tal:repeat="name python: ('foo', 'bar', 'baz')" tal:replace="structure
>    string:&lt;div metal:define-macro='$name'/&gt;" />

Just don't show this to little children, OK?


ZPT mailing list

Reply via email to