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 ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.