[ZPT] Generating XML element in ZPT
Igor Elbert
ielbert@genuone.com
Fri, 21 Jun 2002 19:22:59 -0400
I am new to Zope so I apologize if my question is naive.
Is it possible to generate an XML element with ZPT?
For example, how do I get <id>My object's ID</id> where id is here/id?
Similar question was posted in this list a while ago but there was not a
good answer to it.
I tried
<stub tal:replace="string:<$id>">My object's ID<stub
tal:replace="string:</$id>"/>
but it puts < and > in the output file instead of proper brackets so
it is not a solution.
ZPT has tal:attribute but not tal:element. Why and how to work it around?