I have done as you say and get this error: KeyError: '$var' Here are the code lines I added into the table: <td><tal:content metal:use-macro="here/$var/macros/author">author</tal:content></td> <td><tal:content metal:use-macro="here/$var/macros/content">content</tal:content></td> TIA, Ben Dieter Maurer <dieter@handshake.de> wrote: beno - wrote at 2006-7-26 15:04 -0700:
... that works fine. But I'd like to call the following in that table:
where "XXX" is the "item" that changes each time a new item from the batch is called.
You might try something like "here/?var/...". "?var" reads the contents of the variable "var" and inserts this content into the path expression. Note that the value must be a string and that embedded '/' are *not* treated as path separators. -- Dieter --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta.