ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Web Related  >>  HTML DHTML
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
Does Microsoft Internet Explorer accept the media type
application/xhtml+xml?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Does Microsoft Internet Explorer accept the media type application/xhtml+xml?
Answer
# 1
No. However, there is a trick that allows you to serve
XHTML1.0 documents to Internet Explorer as application/xml.

Include at the top of your document the line in bold here:

<?xml version="1.0" encoding="iso-8859-1"?>

<?xml-stylesheet type="text/xsl" href="copy.xsl"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

         
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

where copy.xsl is a file that contains the following:

<stylesheet version="1.0"

     xmlns="http://www.w3.org/1999/XSL/Transform">

    <template match="/">

        <copy-of select="."/>

    </template>

</stylesheet>

Note that this file must be on the same site as the document
referring to it.

Although you are serving the document as XML, and it gets
parsed as XML, the browser thinks it has received text/html,
and so your XHTML 1.0 document must follow many of the
guidelines for serving to legacy browsers.

Your XHTML document will continue to work on browsers that
accept XHTML 1.0 as application/xml.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 

 
 
 
Other HTML DHTML Interview Questions
 
  Question Asked @ Answers
 
How do I indent a lot of text?  1
EXPLINE THE HTML? CTS2
How do I do a pagebreak?  1
What is the difference between the CLASS and ID when you are writting CSS? Virtusa2
How do I indent the first line in my paragraphs?  2
What are The two tags for framesets ? Microsoft1
I want to get an audio file to play automatically when someone visits my site!  1
Why do you say "user agent" everywhere, instead of "browser"?  1
How do I display the current date or time in my document?  1
Difference between HTML and DHTML? Accenture5
What are the types of HTML?  1
What is the tag Code Base and why do we use it? Microsoft1
How do I get a back button on my page?  1
What is HTML(Hypertext Markup Language)?  1
How do I redirect someone to my new page?  1
How do I include one file in another? CTS1
How do I force a download?  1
Why isn't XHTML2 backwards compatible?  1
How do I get a counter?  1
Why is xml:space set to 'preserve' on all elements of XHTML? I don't want to see extra space in my output.  1
 
For more HTML DHTML Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com