O'Reilly logo

Building Parsers with Java™ by Steven John Metsker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5.8. Parsers with XML

XML is a project of the World Wide Web Consortium (W3C). XML is actually a metalanguage—a facility for creating new languages using markup.

5.8.1. A Brief History of XML

The idea of markup languages is to include datatype information along with data in a human-readable form. Markup originated in printed form, when editors literally marked up printed pages, indicating changes and printing information, such as whether a word should be in bold. Carrying over this idea to computers seems natural—just write something like <bold>this</bold> to tell the computer to write a word in bold.

Over time, developers found that they wanted to be able to set up templates so that two different documents would have the same look. A template ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required