I tried your suggestion, Koen, (with "<" and ">") but now I see the javascript code on my html. It is not executed at all... I use IE 5.5.
Barbara PS : sorry for double-posting I was warned by the antivirus software. ----- Original Message ----- From: "Koen Pellegrims" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 11:22 AM Subject: RE: bug with javascript ? > mmm, I don't see where you need to use < and > tags. > To make sure your javascript remains untouched, you could put the code in a > CDATA section: > <script language="javascript"> > <![CDATA[ > if (document.all) { > ... > } > ]]> > </script> > > Koen. > > > -----Oorspronkelijk bericht----- > > Van: Barbara Post [mailto:[EMAIL PROTECTED]] > > Verzonden: donderdag 29 augustus 2002 11:01 > > Aan: [EMAIL PROTECTED] > > Onderwerp: bug with javascript ? > > > > > > c203. > > > > My XSL contains some javascript : > > > > Is it normal that when I look at the source of my html output I see the > > full code (in the body part) written out ? > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>