O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

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

Why XML?

The question "Why XML?" needs to be discussed at two levels. The first looks at XML specifically as a technology to potentially underpin the next generation of the World Wide Web. The second looks at XML in a slightly more formal and wider context.

Let's look first at two aspects of HTML and XML on the Web.

One reason for the creation of XML is that HTML was increasingly being used to do things that it wasn't originally designed to do. HTML was originally designed to express the structure of text documents in a pretty simple way. As the Web grew, tags were added that either inserted presentation information between structural tags or mingled presentation and structure within a single tag. Take the <h1> tag for example. It indicates that ...

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