1. Home
  2. Computing & Technology
  3. Web Design / HTML
Tools to Read (Parse) Your XML
Common Misconceptions About Viewing XML
 Join the Discussion
"can someone tell me if IE 5.5 is a validating parser?"
PKS3
 
 Related Resources
• Well Formed XML and HTML
• DTDs and Markup Languages
• XML Parsers
• XML Resource Center
 
 Elsewhere on the Web
•  Microsoft Internet Explorer 5.x
• Lark
 
 Stay Up-to-Date
  with Web Design
  Email:
  

By Jennifer Kyrnin

One of the most common questions about using XML is "What browser can I use to read my XML pages?" This question presupposes a number of things:

  1. XML documents are meant to be like Web pages, and viewed in a browser
  2. There are "browsers" or other tools that are meant to be used with XML
  3. XML creates "pages" similar to HTML

XML Documents Like Web Pages
This belief comes from the education of many XML developers. When you learn XML after having learned HTML, it is easy to assume that the way that XML would be viewed would be in a Web browser, on the Web. While it can be viewed on the Web using certain Web browsers, XML is not required to be viewed on the Web, or even across the Internet. In fact, you could build an XML application that includes a parser that has nothing to do with the Web, such as if you are accessing a database with an XML application.

XML "Browsers"
Actually, XML browsers are called parsers because they are parsing the XML information into data and markup so that the computer can assign meaning to the information. When you create a well-formed XML document, you are writing a document that can be read by an XML parser.

XML "Pages"
This is another impression that comes from the World Wide Web. XML does not necessarily create pages, but rather documents. XML applications then use a parser to process the XML document. They may display these documents as a Web page, or put them in some other form.

XML Parsers

  • Internet Explorer 5 XML Parser
    Internet Explorer 4 was the first Web browser to include a parser, and IE5 includes a good XML parser.
  • Expat
    Expat is an XML 1.0 parser that is free for private and commercial use.
  • Lark
    Lark is a non-validating XML parser written in Java.

Previous Features

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. Web Design Articles R-Z
  6. Web Design/HTML Articles T
  7. Tools to Read (Parse) Your XML

©2008 About.com, a part of The New York Times Company.

All rights reserved.