Using Internet Explorer as an XML Syntax Checker

This section provides a tutorial example on how to use IE (Internet Explorer) as an XML file syntax checker. If there are syntax errors in an XML file, IE 10 (in compatibility mode) will stop displaying the XML file at the first error location.

Internet Explorer (IE) can also be used as an XML syntax checker.

If you open incorrect.xml used in previous sections with IE 10, you will see only "XML". But you if you click "Tools > Compatibility View Settings" menu, and turn on "Display all websites in Compatibility view", you will see the following:

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later. 

End tag 'Name' does not match the start tag 'name'. 
Error processing resource 'file:///C:/herong/incorrect.xml'. 
Line ...

  <name is_acronym="true">XML</Name>

This is almost perfect.

Last update: 2014.

Table of Contents

 About This Book

 Introduction of XML (eXtensible Markup Language)

 XML File Syntax

XML File Browsers

 Using Google Chrome as an XML Browser

 Using Google Chrome as an XML Syntax Checker

 Using Mozilla Firefox as an XML Browser

 Using Mozilla Firefox as an XML Syntax Checker

 Using Internet Explorer as an XML Browser

Using Internet Explorer as an XML Syntax Checker

 XML Spy and Other XML Browsers

 DOM (Document Object Model) Programming Interface

 SAX (Simple API for XML) Programming Interface

 DTD (Document Type Definition) Introduction

 Syntaxes of DTD Statements

 Validating an XML Document against the Specified DTD Document Type

 XSD (XML Schema Definition) Introduction

 Syntaxes of XSD Statements

 Validating XML Documents Against Specified XML Schemas

 XSL (Extensible Stylesheet Language) Introduction

 XSLT (XSL Transformations) Introduction

 Java Implementation of XSLT

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 XML Notepad - XML Editor

 XML Tools Plugin for Notepad++

 XML 1.1 Changes and Parsing Examples

 Outdated Tutorials


 Full Version in PDF/EPUB