If you don't need to use any non-XML HTML features, you can use the XML output method, add your own meta tag, and set the doc type appropriately.
-----Original Message----- From: Paul Warner [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 5:38 PM To: [EMAIL PROTECTED] Subject: Added META tag breaks Mozilla Hello, I get this error when running a simple transform in a servlet: XML Parsing Error: mismatched tag. Expected: </META>. Location: http://localhost:8080/diaries/servlet/ParseDiaries Line Number 18, Column 3: </HEAD> --^ Xalan is adding a META tag without adding a close - and it's refusing to display in Mozilla. I tried inserting a </META> close in the xsl stylesheet, but that bombs of course. How can I suppress that META tag? Or force it to add the </META>? Interestingly, if I add my own meta tag with it's own close tag, Xalan will remove my </META> close tag then add it's own META tag (without close) just ahead of mine. Which leaves two identical META tags, neither with close tags, and this of course generates the same error. I looked for information on this in the archives and in Google, and I can see it's part of the spec to add this tag - but no one says how to suppress it or force it to be a complete tag with a close. Thanks for any help. Paul Warner
