[Zope] cooked body??

David H bluepaul at earthlink.net
Wed May 10 21:40:54 EDT 2006


David Bear wrote:

> I'm attempting to use a zpt to read/render an html file. Just using 
> something like
>
> <div tal:content="here/htmlfolder/file.html"> stufff </div>
>
> puts the 'escaped' contents of the file.html in the div section. I 
> seem to remember something about cooked body or uncooked to get the 
> non-rendered contents of the html file.
>
> any pointers?
>
> -- 
> David Bear
> What's the difference between private knowledge and public knowledge?

David,

Maybe "tal:content="structure here/htmlfolder/file.html"> ?  I use the 
"structure" key word to include things like CSS, and (python) 
dynamically generated JavaScript - maybe it will work fo you in this case.

David H








More information about the Zope mailing list