Displaying the File in Internet Explorer

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Developer's Guide

Displaying the File in Internet Explorer

Microsoft® Internet Explorer provides a default view of XML documents that displays their structure, in addition to support for styled display of XML information using cascading style sheets (CSS) or Extensible Stylesheet Language Transformations (XSLT). If an XML document contains an xml-stylesheet processing instruction, Internet Explorer uses the specified style sheet to present the information. If no xml-stylesheet processing instruction is present, Internet Explorer applies its default style sheet.

The default style sheet is useful for a number of common development cases. Loading a document into Internet Explorer causes Microsoft® XML Core Services (MSXML) 5.0 for Microsoft Office to parse the document and check whether it is a well-formed. If the parse fails, Internet Explorer reports error messages. If the parse succeeds, Internet Explorer presents the document structure as an outline, with small + and – icons for expanding and closing sections of the document. If you have long documents with many large sections, this view can help you quickly navigate the information.

Like other Web content, you can load XML documents into Internet Explorer through the Open command on the File menu, a hyperlinked URL, or from the file system.

See Also

Displaying XML Files in a Browser