[Zope] ANNOUNCE: EXPERIMENTAL DTML Syntax change
Gary Herron
gherron@aw.sgi.com
Tue, 15 Jun 1999 10:02:24 -0700
Jim Fulton wrote:
>
> Zope 2.0.0 alpha 2 (and public CVS) includes an experimental change to the
> DTML parser to allow HTML tags syntax and character entity reference as
> an alternative to the server-side-include (SSI) syntax. Basically, source
> like:
>
> <!--#var standard_html_header-->
> <ul>
> <!--#in objectValues-->
> <li> <a href="<!--#var URL1-->/<!--#var id-->/manage_workspace">
> <!--#var title--></a>
> <!--#/in-->
> </ul>
> <!--#var standard_html_footer-->
>
> to be written as:
>
> <dtml-var standard_html_header>
> <ul>
> <dtml-in objectValues>
> <li> <a href="&dtml-URL1;/&dtml-id;/manage_workspace">
> <dtml-var title></a>
> <dtml-/in>
> </ul>
> <dtml-var standard_html_footer>
>
> This format is provided to overcome some of the problems
> with the SSI syntax:
>
> - It looks more like and fits in with HTML,
I like the idea, but I disagree that
<dtml-/in>
looks and feels like HTML. A more natural end tag for
<dtml-in>
would seem to be
</dtml-in>
Is there a reason for your choice?
--
Dr. Gary Herron <gherron@aw.sgi.com>
206-287-5616
Alias | Wavefront
1218 3rd Ave, Suite 800, Seattle WA 98101