[Zope] Re: Java re-invents DTML :-)

Chris Withers chrisw@nipltd.com
Mon, 17 Feb 2003 16:55:27 +0000


Evan Simpson wrote:
> 
> Quite true.  DTML can be very handy for templating non-tag-based text.

I think ZPT does just fine with this and means you don't have to learn a second 
templating language.

> <dtml-with x><dtml-with y><dtml-var z></dtml-with></dtml-with>
> ...or...
> <dtml-var expr="x['y'].z()">
> 
> ...we could have...
> 
> <dtml-var name="x/y/z">
> 
> Another advantage would be the ability to control context, writing 
> "here/foo" to acquire a foo object and "request/foo" to get request 
> variable "foo".

All good points, but until someone can act on them, they don't really count ;-)

cheers,

Chris