[ZPT] Confused about Zope

Jean Jordaan jean@upfrontsystems.co.za
Thu, 27 Feb 2003 15:21:39 +0200


> Not overly pretty, but certainly no less pretty than DTML...
> 
> <dtml-sqlvar x type="string">
> 
> <tal:x replace="sql.string:x"/>
> 
> (assuming the current plans beign discussed on zope3-dev coem to fruition)

Myeah, but the whole template will still irrelevantly have to
validate as xhtml somehow, won't it? .. Off the top of my head,
certainly wrong in particulars ..

"""
<html tal:omit-tag="">
<head tal:omit-tag=""></head>
<body tal:omit-tag="">
insert into RequestPositionMap(OrganisationPositionID,
                                EvaluationRequestID,
                                Status)
values (<tal:x replace="sql.string:x"/>)
</body>
</html>
"""

-- 
Jean Jordaan
http://www.upfrontsystems.co.za