[Zope] tal construct

Dieter Maurer dieter@handshake.de
Wed, 29 Jan 2003 21:22:18 +0100


David Bear wrote at 2003-1-28 22:45 -0700:
 > Is it possible to use a page template tal expression to get the
 > contents of a structured text file?
 > 
 > I would like to do something like
 > 
 > <div tal:content="context/anStxDoc">filler </div>
 > 
 > to bring in the contents of a structured text doc.  It can't be that
 > hard but I'm going blind trying find it in the docs.
I think this should be possible.

    What happens when you try it?

If you want to render it as HTML, the function
"structured_text" in "Products.PythonScript.standard" may help
you.


Dieter