PDA

View Full Version : Microsoft Office 2007 Key XHTML, http accept-heade


jhjkrhsd
03-21-2011, 10:14 AM
File A: XHTML 1.1 utilising mime-type applicationxhtml+xml The XML declaration:<?xml version="1.0" encoding="utf-8"?> The DTD for XHTML one.one:<,Office Pro Plus 2010 Key (http://www.office2010-key.eu/)!DOCTYPE html PUBLIC "-W3CDTD XHTML one.1EN" ""> File B:XHTML 1.0 Strict using mime-type texthtml The DTD for XHTML 1.0 Strict:<,Microsoft Office 2007 Key (http://www.office-2007-key.de/)!DOCTYPE html PUBLIC "-W3CDTD XHTML one.0 StrictEN" ""> In the head section of the document:<meta http-equiv="Content-Type" content="texthtml; charset=utf-8" > private void testHTTPaccept(string filename) { if(Request.ServerVariables["HTTP_ACCEPT"] ,Microsoft Office 2010 Product Key (http://www.office2010-key.eu/)!= null) { string accept = Request.ServerVariables["HTTP_ACCEPT"]; if(accept.ToLower().IndexOf("applicationxhtml+xml") ,Microsoft Office 2010 (http://www.office2010-key.eu/)!= -1) Response.ContentType = "applicationxhtml+xml"; Response.WriteFile("" + filename + "_a.html"); Response.End(); else Server.Transfer("" + filename + "_b.html"); } else Response.ContentType = "applicationxhtml+xml"; Response.WriteFile("" + filename + "_a.html"); Response.End(); }