[Zope] HTML

Robert Rottermann robert at redcor.ch
Mon Nov 29 14:03:30 EST 2004


baptiste Ancey wrote:
> Hi,
> 
> I just want to make a python script which generate an html balise.
> like: generateTable('toto') return "<table><tr><td>toto</td>... etc"
> 
> but when i want to use it in a span (span tal:content="generateTable...") all 
> the html are change like that : &lt;table border='1'&gt;
> 
> Can you help me to prevent that.

you have to use the tal keyword structure. Liks this:
<span tal:content="structure here/generateZable" />

Robert


More information about the Zope mailing list