[Zope] Is DTML a bastardized form of XML, or valid XML?

David Shaw spam2@theresistance.net
Thu, 22 Jun 2000 22:47:37 -0400


> just wondering if DTML is actually a valid form of XML, or a bastardized
> version of XML created specifically for ZOPE. I've done a little reasearch
> on XML, and I it seems like DTML tags such as:
> aren't really valid XML forms. The following would make more sense:
> 
> <dtml-var expr="..."/>    or
> <dtml-if expr="...">

This form is also valid.  Actually, it makes more sense this way, since
items in quotes are python expressions.  Zope supports at least 3 different
syntaxes that I know about, so it really leaves it up to the developer to
support standards like XML if they choose to do so.