[Zope] getting <!-- --> sections to 'render' from an external method...

Tony McDonald tony.mcdonald@ncl.ac.uk
Fri, 21 May 1999 09:03:14 +0100


Hi all,
I have an external method that creates different HTML dependent on 
some variables that are sent to it

eg
if given the values, content = 'zope is cool' and tagtype='item', the 
expression
<!--#var expr="make_html(content, tagtype)"-->

returns
<ul>
<li>zope is cool
</ul>

If I change the content to something like 'For the following 
exercise, use the conferencing system. <!--#var conference-->', 
tagtype='text'

I want the <!--#var conference--> DTML to be left alone by the 
make_html external method so that Zope can get given it and then do 
all its good stuff.

At the moment, the <!--#var conference--> is just showing up as HTML 
comments in the output.

Do I need to do some major magic at the external method?

thanks for any thoughts...
tone.
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2