Jean-Marc Orliaguet wrote:
"tal:define" is used here to pass parameters to the macro. In ZPT this
is done implicitly, which is why macros specify a list a variables that
must be defined.
In other language this is done explictly. (cf. XSLT <xsl:with-param ...>)
If it was done explicitly in ZPT it could look like:
<li metal:use-macro="macros/li_repeat" metal:with-params="items1" />
<li metal:use-macro="macros/li_repeat" metal:with-params="items2" />
Ok, thanks for the explanation. This looks better of course.
If this were possible I could live without tal:define.
Looking forward to see explicit ZPTs soon :)
Zope3-dev mailing list