Doug Wyatt wrote:
At 9:06 -0400 6/15/99, Jim Fulton wrote:
<dtml-var standard_html_header> <ul> <dtml-in objectValues> <li> <a href="&dtml-URL1;/&dtml-id;/manage_workspace"> <dtml-var title></a> </dtml-in> <-- i fixed this -- dsw
:)
</ul> <dtml-var standard_html_footer>
My first impression: this is a big improvement - much easier to read and type.
My only concern is that it's inconsistent when you want to put DTML inside HTML tags, like with the href in the example above. I suppose that's unavoidable. Do you have to escape all ampersands now, or is '&dtml' itself the key?
Can you use "&dtml-some_variable_name" outside of quotes?
Actually, "&dtml-" (letters|digits|underscore|dash|dot) + ";" 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.