Otto Hammersmith wrote: (snip)
3) Zope syntax might not be mappable into XML.
Close, but not quite. I'm sure it's possible to create an XML syntax that has all the functionality of DTML...
Yup.
however, it might very well end up being an ugly unwieldy syntax.
If someone found the XML flavor of DTML unwieldy, then I'm quite sure that they would find XHTML unweildy too. (snip)
The if gets really strange when you start adding 'elif' and 'else' clauses.
Nah: <dtml:choose> <dtml:if expr="x==1"> .... </dtml:if> <dtml:if expr="x==2"> .... </dtml:if> <dtml:else> .... </dtml:else> </dtml:choose> Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.