9 Aug
2000
9 Aug
'00
10:49 p.m.
I would like to pre-process a DTML file (accessed using HTMLFile) before displaying it in the web browser. Example Code: dtml=HTMLFile('manage/mycode', globals()) def cleanUp: # eliminate blank lines and <!-- comments--> from DTML ..... def printDTML(self): return self.cleanUp(dtml) The problem is that the dtml variable doesn't return the DTML, but the object reference. Is there a way to fetch the raw DTML content from the HTMLFile object? Kevin Howe