[Zope] get dtml content from script

Juan Manuel Ruiz Garcia juanm_ruiz@yahoo.es
Fri, 8 Nov 2002 12:37:35 +0100


Hi,

I have a variable called 'file' that has the name of a DTML/HTML Document
tahta exist inside a Folder 'folder'

I want a script to return that DTML document, which name is not known until
the end of the script...

Something like this:

if condition: filename='file_numer1.html'
else: filename='the_other_file.html'

return "THE DTML CONTENT OF THE 'FILENAME', name of the file in the folder
'ONE_FOLDER'"


is it possible?

_______________________________________________________________
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es