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

Graham Chiu anon_emouse@hotmail.com
Tue, 11 Apr 2000 12:05:48 +1300


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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>.


- -- 
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.com/dynamo - The Homebuilt Dynamo
http://www.compkarori.com/dbase - The dBase bulletin

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1

iQA/AwUBOPHDnbTRdIWzaLpMEQI3jwCfVhJwY4PHPHjkINZb/qM1HjO9YFkAoM3h
YXgTOBHRtyNpRfyXpVQY/p1w
=Q239
-----END PGP SIGNATURE-----