[Zope] DTML in ZPT

Andreas Jung Andreas Jung <lists@andreas-jung.com>
Fri, 31 Jan 2003 11:11:51 +0100


--On Freitag, 31. Januar 2003 11:01 +0100 Martin F Krafft 
<krafft@ifi.unizh.ch> wrote:

> Since I have just started with Zope, I am doing ZPT straight and
> avoiding DTML when I can. Every now and then, I have to use it though.
> So I am wondering: is there a way to integrate a DMLT Document within
> a ZPT template, similar to how I'd use a macro in METAL?
>

You can use <span tal:replace="structure here/<dtmldocument>" ?>
if you just need to include the rendered content of the DTML document
with id <dtmldocument>.

-aj