[Zope] PageTemplate ... dtml-comment

Paul Winkler pw_lists@slinkp.com
Sun, 3 Nov 2002 11:59:02 -0800


On Sun, Nov 03, 2002 at 12:40:28PM -0700, Mark Gibson wrote:
> What is the recommended way for commenting page templates?  The 
> <dtml-comment> in dtml was awkward, but it was readily apparent that the 
> content between the tags was for comment only.
> 
> Could use html comments <!-- -->, unless you don't want the commentary in 
> the published html.

If you don't want to use html comments, this is more or less
equivalent to <dtml-comment>, except that its purpose is not
so explicit:

<span tal:replace="nothing">
  Commentary here...
</span>

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"