[Zope-CMF] Structured Text rendered inline within ZPT

Dieter Maurer dieter@handshake.de
Fri, 15 Nov 2002 20:35:58 +0100


G. Edw. Learned writes:
 > I have a situation where I would like to render a structured text
 > document inline within a zope page template. For example, say I have
 > a document header.stx which is a structured text document. Within a
 > zpt called index.html, I would like to render whatever is within
 > header.stx IF it exists. I can't seem to find how to render stx using
 > ZPT's instead of dtml.
The module "Products.PythonScripts.standard" contains a function
that can render structured text.

Remember to use the "structure" prefix, otherwise the HTML tags are
quoted.


Dieter