[Zope] Re: [Zope-dev] PROPOSAL: html_quote implicit in
entity-reference var tagsyntaxsyntax
Jim Fulton
jim@digicool.com
Wed, 25 Aug 1999 20:49:57 -0400
Kevin Dangoor wrote:
>
> -----Original Message-----
> From: Mauricio <mauricio@hiper.com.br>
> To: ZOPE <zope@zope.org>
> Date: Wednesday, August 25, 1999 8:11 PM
> Subject: [Zope] Re: [Zope-dev] PROPOSAL: html_quote implicit in
> entity-reference var tagsyntaxsyntax
>
> >Or, we can create a new sintax like:
> >&dtml-name#html_quote;
> >equivalent to:
> ><!--#var name html_quote-->
>
> I think this syntax somewhat eliminates the "shorthand" style of &dtml-name;
> Typing &dtml-name; is nicer than <dtml-var name html_quote>
> Typing &dtml-name#html_quote; is not much different than <dtml-var name
> html_quote>, IMHO
I should have made clearer in my original post that the purpose of the
entity reference syntax is to be able to embed var tags in HTML tag
attributes without breaking the HTML syntax, as in:
<input name=spam value="&dtml-spam;">
The goal was not to reduce keystrokes. I don't think that
"&dtml-name#html_quote;" is a syntactically valid entity reference.
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.