cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett McLaughlin <new.insta...@gte.net>
Subject Re: skipping stylesheet comments
Date Sat, 22 Apr 2000 03:24:18 GMT


Laura Kruse wrote:
> 
> Ok, does cocoon automatically skip the comments in a stylesheet and not
> put them in the generated output?
> 
> The reason I'm asking is because I want to include a script that will
> take the results of my SQL Query and put them into two comboboxes in
> which the second one is based on the selection in the first.  But if I
> comment out the script like you'd do in static html it seems to skip the
> processing of the script itself, and it will never appear in the
> generated html.  
> 
> But if I uncomment it, it complains about 'for(i=0;i<groups;i++)' and
> that 'Element type "groups" must be followed by either attribute
> specifications, ">" or "/>".'  But groups is just some variable I
> declared earlier in my script.  

for (i=0;i&lt;groups;i++)

remember '<' is an XML character.

-Brett

Mime
View raw message