This has been something that I've never been very careful about. Until I got 
bitten in generating a JavaScript.

What is the difference between

  <dtml-var myvar>

and

  &dtml-myvar;

?

I have noticed some differences before, but I don't remember the details, 
now. I guess one of them mangles the result so it can be looked at in a 
browser (properly HTML quoted?)

  <dtml-call "REQUEST.set('myvar', '&')">
  <dtml-var myvar><br>
  &dtml-myvar;<br>

Visually they look the same, but if I looked at the source:

  &<br>
  &amp;<br>

Is the a technical term (e.g: "rendering", "HTML-quoting", etc.) that 
describes the difference in the output?

regards,

Hung Jung

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to