[Zope] What's the difference between <dtml-var and <!--#var

Harry Henry Gebel hgebel@inet.net
Mon, 10 Apr 2000 20:30:34 -0400


On Tue, Apr 11, 2000 at 12:05:48PM +1300, Graham Chiu wrote:
> In article <004501bfa339$05c4cc30$29a8efd0@atinucleus.com>, Jim Sanford
> <jsanford@atinucleus.com> writes
> ><!--#var is Zope 1.x and will work in Zope 2.x
> >
> ><dtml-var is Zope 2.x and will not work in Zope1.x
> >
> >another difference is that <dtml-var is 1 character longer than <!--#var
> 
> Not quite true.  <!--#var needs to be terminated by '-->'
> where <dtml-var needs only '>' 
> 
> So, the older syntax is 1 character longer <g>.

Also, I think the older syntax is deprecated, so it probably shouldn't
be used even though it still works.

-- 
Harry Henry Gebel, Senior Developer, Landon House SBS
West Dover Hundred, Delaware
PyNcurses: python binding for ncurses http://pyncurses.sourceforge.net