[Zope] ANNOUNCE: EXPERIMENTAL DTML Syntax change

Michael Bernstein mbernstein@profitscape.net
Tue, 15 Jun 1999 12:59:19 -0700


Mike Pelletier wrote:
> 
> On Tue, 15 Jun 1999, Michael Bernstein wrote:
> 
> > You might (MIGHT) want to consider requiring an enclosing '<dtml-eval>'
> > tag around the environment variables, though:
> >
> >    <li> <dtml-eval><a
> > href="&dtml-URL1;/&dtml-id;/manage_workspace"></dtml-eval>
> >
> > Leaving them 'naked' doesn't feel right.
> 
>     Since you wrap two new-style <!--#var--> tags in one '<dtml-eval>', plus
> an arbitrary amount of HTML, there's nothing to stop folks from wrapping their
> entire file in a big '<dtml-eval>'.  It seems a bit contrived, IMHO.  If you
> correct that by insisting only one eval per <dtml-eval>, you haven't gained
> anything over the old way of doing it.

Hmm, what I was going for was an arbitray amount of HTML and entities,
but no other DTML.

It was just an idea.

01 (my two bits)

Michael.