[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML

webmaster@zope.org webmaster@zope.org
Tue, 24 Sep 2002 17:16:37 -0400

A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-62


    In addition to documenting DTML you can use the *comment* tag to
    temporarily comment out other DTML tags. Later you can remove the
    *comment* tags to re-enable the DTML.

      % gl03 - Apr. 26, 2002 9:31 am:
       commented dtml is still parsed to the effect that you cannot save bad dtml even if it's commented out!
       (wouldn't mind seeing this changed...)

      % Anonymous User - July 19, 2002 4:01 am:
       Especially as progressively commenting less and less of a document is a well understood and oft-used method
       for debugging

      % Anonymous User - Sep. 24, 2002 5:16 pm:
       Hint: since browsers hide <...> when they dont see a tag, 
       commenting out single dtml tags just put an x before "dtml" like

       <xdtml-var blah>.