[ZPT] Generating XML element in ZPT

Florent Guillaume fg@nuxeo.com
Sat, 22 Jun 2002 11:12:07 +0000 (UTC)


Igor Elbert <ielbert@genuone.com> wrote:
> I tried
> <stub tal:replace="string:&lt;$id&gt;">My object's ID<stub
> tal:replace="string:&lt;/$id&gt;"/>
> but it puts &lt; and &gt; in the output file instead of proper brackets so
> it is not a solution.

Use:
<stub tal:replace="structure string:&lt;$id&gt;"/>My object's ID<stub
tal:replace="structure string:&lt;/$id&gt;"/>


Florent


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com