[Zope] Saving a Rendered DTML Document

Asad Habib ahabib at engin.umich.edu
Wed Dec 7 10:40:04 EST 2005


Hi. I have never used ZPT before, but from what I read, it seems like I 
can include the contents of a rendered DTML document (i.e. HTML only) in a 
Page Template by using <tal:content>. Am I correct? Also, if you could 
point me to an example, that would help. Thanks.

- Asad


On Wed, 7 Dec 2005, Chris Withers wrote:

> Is there any particular reason why you posted this message twice, 5 hrs 
> apart?
>
> Asad Habib wrote:
>> Hello. I have a DTML document which contains some DTML, but mostly HTML. I
>> want to save the HTML contents of this DTML document once it is rendered by 
>> Zope (i.e. once the DTML is evaluated) in another DTML document (i.e. 
>
> Just render it into a File object using a python script. Run the python 
> script as part of your processing that changes the DTML document or what the 
> DTML document renders....
>
> You could, of course, stop hurting yourself and replace the DTML document 
> with a ZPT...
>
> Chris
>
> -- 
> Simplistix - Content Management, Zope & Python Consulting
>           - http://www.simplistix.co.uk
>
>


More information about the Zope mailing list