You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stefano Mazzocchi <st...@apache.org> on 2000/07/12 02:02:17 UTC

Re: Odd problems with Cocoon

Nicki Møller wrote:
> 
> Hi All,
> 
> I seem to have run into some odd problems with Cocoon.
> When I try use for-loops like this
> 
> ----------
>     <xsp:logic>
>      for (int i=0; i lt; 7;i++)

You mean:

      for (int i=0; i &lt; 7;i++)

right?

I suggest to use

 <xsp:logic><![CDATA[
  for (int i=0; i < 7; i++) {
    j++;
  }
 ]]></xsp:logic>

It's much more readable that way.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------