[Zope] Newbie dtml question ( very simple )

Dr. Armin Tschammer Armin.Tschammer@oi42.kwu.siemens.de
Fri, 12 Mar 1999 10:13:11 +0100


Hi,

I would like to do things like that:

XY.py :


d = {}
d['x1']=1
d['x2']=2
X = DocumentTemplate.HTMLFile('X3.dtml')
string = X(d)


WRONG:

X3.dtml :

       <html>
       <head> Some Stuff  </head>
       <body>

       More Stuff
       <!--#var x1-->
        Other Stuff
       <!--#var x2-->

       </body>
       </html>

How does the right X3.dtml file look like ?

Thanks,


       Armin