cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: loop "for" into xsp
Date Wed, 12 Mar 2003 16:29:18 GMT
On 12.Mar.2003 -- 05:19 PM, Lionel Crine wrote:
> I'm trying to use a "for" loop into my xsp page but the "<" character is 
> interpreted by the sax parser.
> 
> <xsp:logic>
> ...
> for (int i = 0; i < array.length(); i++) {
> ...
> </xsp:logic>
> 
> Why ?

XML - use the entity reference instead &lt; or put a CDATA around
it. Same with ">" (&lt;) and "&" (&amp;).

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message