Q:

Display xml in browser without warning message

I have an xml file that I am displaying in an iframe, but it gives me a warning that "This XML file does not appear to have any style information associated with it.  The document tree is shown below." 
When I add style sheet information on this xml it will show only data inside of tag. 
How can I show it in a normal way without warning message. 
Thanks in advance. 

A:

Rename the XML file to .txt first. 
XML files are supposed to be interpreted, not displayed in their raw form. ( They don't need to; under normal circumstances, you can always see the XML source by clicking "View Source".)  If you want to display a file as is, the file should be a plain text file.