Jason Cunliffe writes:
 > Can anyone see why under 2.2.0 this is wrong ?
 >   <dtml-var "7Dlogoicon_gif.tag(border = 0)">
 > ... I am getting
 > >>> invalid syntax, for tag <dtml-var "7Dlogoicon_gif.tag(border=0)">, on
 > line 3 of standard_html_footer
The Python interpreter interprets expressions inside "...".
Python requires names to start with a letter.
You name "7Dlogoicon_gif" starts with a digit. That is the problem.

You can use "_.getitem('7Dlogoicon_gif').tag(border = 0)">, instead


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to