[Zope] scope of <dtml-let> tag

indrajit926 indra indrajit926 at gmail.com
Fri Jun 12 04:27:16 EDT 2009


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20090612/b0eae2e7/attachment.html 


More information about the Zope mailing list