18 May
2001
18 May
'01
9:05 p.m.
Hi, my python script returns an array of dictionaries, like: [{'num':1, 'letter':'a'},{'num':2, 'letter':'b'}] in a dtml-document I try to print these values: <dtml-in "script(param=param)"> <dtml-var num><br><dtml-var letter> </dtml-in> This results in a key error. How do I have to return the values to make the dtml-code work? I know <dtml-var "_['sequence-item']['num']"> works, but I want<dtml-var num> to work. Thanks Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905 Fax: +46-8-534 609 06