Hi

A very stupid -but frustrating - problem this:

I have an XSP generating an XML file and being transformed by XSL -
nothing new here.

When I look at the resultant HTML, tho', I see a line:
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
has been added below the <html> (that I  create).

No big deal?  But, whatever is doing this, is doing the same thing
to a javascript snippet that has:

        write('<html>');
        write('<head>');

in the XSL file, and causing it to become:

        write('<html>');
        write('<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">');
 
in the HTML thereby causing it fail because of the linewrap. 
 (yes, if you remove that line and test the saved
HTML page 'manually' it does work)

Why is this happening and, more important, how do I stop it adding
these <META> tags?

Thanks
Derek

---------------------------------------------------------------------
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]>

Reply via email to