On 22.Mar.2002 -- 10:26 AM, Derek Hohls wrote: > No big deal? But, whatever is doing this, is doing the same thing > to a javascript snippet that has: > > write('<html>'); > write('<head>');
On another note: since XML doesn't know about JS strings, what happens here is <![#PCDATA[write(']]><html><![#PCDATA['); write(' and so on. But you want <![#PCDATA[write('<html>'); write(' IOW you don't want to create nodes but text. Thus you should replace "<" with "<" and ">" with ">" in all your strings or java code. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>