[Zope] Syntax Extras

Martijn Pieters mj@zope.com
Thu, 3 Jan 2002 12:09:39 -0500


On Thu, Jan 03, 2002 at 11:34:00AM -0500, Thomas B. Passin wrote:
> > A person named Coventry created a product to replace the <dtml tag with <:
> > and I like that idea. However, I read in an archived post that it wasn't
> > compatible with XML. Since the author hasn't returned my email, does
> anyone
> > know if it complies with XML now? His product can be seen here:
> > http://www.zope.org/Members/Coventry/dtml_shortcut
> 
> Well, nothing like that can ever be well-formed XML, so his scheme would
> have to be changed drastically to work with XML.  You could use processing
> instructions, but that wouldn't be shorter than what we have now, I don't
> think.

PageTemplates are compatible with XML. You should use those instead;
although the syntax is more explicit, of course.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@zope.com
| Zope Corporation   http://www.zope.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------