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.