[Zope] How to call functions in DTML?
   
    Maik Jablonski
     
    maik.jablonski@uni-bielefeld.de
       
    Fri, 09 Aug 2002 09:42:02 +0200
    
    
  
Josef Meile wrote:
>>>To call python functions from within a document:
>>><dtml-var expr="python_script(attr1, attr2, ...)">
>>
> Is 'expr=' necessary? I always use:
> <dtml-var "python_script(attr1, attr2, ...)">
> 
> and it works.
<dtml-var "..."> is a shortcut for <dtml-var expr="...">. dtml-code gets 
a little more readable if you use the expr-syntax.
example:
<dtml-var objectValues>
is definitly not
<dtml-var "objectValues">
but both look similar...
-maik