[ZDP] dtml code

Maik Roeder roeder@berg.net
Tue, 22 Feb 2000 12:07:31 +0100


Hi Kamon !

kamon.ayeva@bureauveritas.com wrote:
> Could someone tell me which one of the following syntax is correct and
> prefered for documenting code ?
> 
> <!--#var sequence-item-->
> 
> <!--dtml-var sequence-item-->
> 
> &lt;<dtml-var sequence-item>&gt;

Usage of <!-- * --> is deprecated.
<dtml-var *> is the correct way.

When documenting in "html", it is ok to use:

&lt;dtml-var sequence-item&gt;

If you use the "code" document type (for example for
Snippets), then you can use:

<dtml-var sequence-item>


Greetings,

Maik