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