[Zope] dtml tag

Maik Roeder roeder@berg.net
Thu, 27 Apr 2000 17:59:48 +0200


Hi !

Terry Kerr wrote:
> 
> print the .raw attribute of the method..it is just a string containing the
> raw contents a DTML method or DTML Document.
> 
> Pierre Rougier wrote:
> 
> > Hi,
> >
> > I would like to print the code of a method through another method,
> > problem is that when I do that, all the dtml-var tag are interpreted...
> > so, I would like to stop such an interpretation...
> > Is it possible to get the code of a method for printing it in
> > anotherone, without interpreting the code???
> > (the aim is to make a method to change the code of my index_html method
> > through a configuration interface... I know it can sound a little
> > strange....;^) )

Just what Terry said:

<dtml-var "index_html.raw">

I just want to add that you can then view the content
nicely like this:

<dtml-var standard_html_header>
<PRE>
<dtml-var "index_html.raw" html_quote>
<PRE>
<dtml-var standard_html_footer>

Greetings,

Maik Röder