[ZPT] Confused about Zope
Thu, 27 Feb 2003 15:31:46 +0000
Jean Jordaan wrote:
>> Not overly pretty, but certainly no less pretty than DTML...
>> <dtml-sqlvar x type="string">
>> <tal:x replace="sql.string:x"/>
Sorry, that should have read:
...so you know for definite where x is coming from.
> Myeah, but the whole template will still irrelevantly have to
> validate as xhtml somehow, won't it?
The following looks fine to me:
insert into RequestPositionMap(OrganisationPositionID,
values (<tal:x replace="options/sql.string:x"/>)
...and, in fact, already works, bar the use of sql.string: