Display an XML Document in a Web Browser
The most popular web browsers can display and process XML natively. Nowadays, it’s just a matter of opening a file.
XML is now mature enough that recent versions of the more popular web browsers support it natively. At the time of writing, the most recent versions of these browsers include:
Microsoft Internet Explorer 6 (http://www.microsoft.com/windows/ie/)
Mozilla 1.7 and Mozilla Firefox 0.9 (http://www.mozilla.org)
Netscape 7.1 (http://channels.netscape.com/ns/browsers/download.jsp)
Opera 7.51 (http://www.opera.com)
Apple’s Safari 1.2 (http://www.apple.com/safari/)
This means that you can display raw, unstyled XML documents (files) directly in web browsers, with varying results.
The browsers use their own internal mechanisms to display XML. Internet Explorer (IE), for example, uses the default stylesheet defaultss.xsl , which is stored in a MSXML dynamic link library (DLL)—msxml.dll, msxml2.dll, or msxml3.dll. You can examine this stylesheet in IE by entering res://msxml3.dll/DEFAULTSS.xsl in the address bar. (This works for msxml.dll, msxml2.dll, or msxml3.dll, but not msxsml4.dll, the latest version.) If you have Visual Studio (http://msdn.microsoft.com/vstudio/), you can use the Resource Editor to edit and save this stylesheet back in the DLL (http://netcrucible.com/xslt/msxml-faq.htm#Q19).
To open an XML document such as time.xml (similar to start.xml), go to File → Open File or File → Open, depending on the browser, and select the document. ...