Hello All,

I faced a parsing error when I used <dtml-if> and <dtml-let>, like below

-----some dtml code-----
<dtml-if CONDITION>
             <dtml-let some_function>
<dtml-else>
              <dtml-let other_function>
</dtml-if>
              -----some code-------
              ------------------------
              </dtml-let>

The above code gives parsing error about unexpected </dtml-if>

It works fine when I give as below

<dtml-if CONDITION>
             <dtml-let some_function>
                -----some code-------
              ------------------------
              </dtml-let>
<dtml-else>
              <dtml-let other_function>
                -----some code-------
               ------------------------
              </dtml-let>
</dtml-if>


Any help on about this behaviour of <dtml-let>.

Thanks in advance,
Indra.
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to