On 12.06.09 10:27, indrajit926 indra wrote:
> 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>.

docs.zope.org -> Zope Book

The behavior is correct and documented.

-aj
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:i...@zopyx.com
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
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