[Zope] ANNOUNCE: EXPERIMENTAL DTML Syntax change

Jim Fulton jim@digicool.com
Tue, 15 Jun 1999 13:17:34 -0400


Gary Herron wrote:
> 
> 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?

Sorry, that </dtml.in> my choice.  My fingers failed my when I typed the post. :)

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.