How To Serve XHTML to Internet Explorer 6 And 7 as XML Using Content Negotiation


/ Published in: ASP
Save to your folder(s)

Serve your xhtml pages correctly with this script and xsl file. Most websites serve their xhtml pages as text and not xml to Internet Explorer. With this it will serve to IE as xml. Your sites will be more valid because they will validate against the xml validator rather than the html validator.

URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.