The most recognizable feature of XML is its tags, or elements (to be more accurate).In fact, the elements you’ll create in XML will be very similar to the elements you’ve already been creating in your HTML documents.Needless to say, computers are really bad at this game, which is a shame, as many computing tasks require semantic skill.That’s why we need to give computers as much help as we can.For example, a human can probably deduce that the Okay, we’ve spent some time talking about XML and its potential, and examining some of the neater aspects of it.
However, it’s important to realize that XML is not just a language.For example, if you were to go to any ecommerce Website and download a product listing, you’d probably get something like this: Product One is an exciting new widget that will simplify your life. Cost: .95 This is such a terrific widget that you will most certainly want to buy one for your home and another one for your office! Take a good look at this – admittedly simple – code sample from a computer’s perspective.A human can certainly read this document and make the necessary semantic leaps to understand it, but a computer couldn’t. Humans are much better at semantics than computers, because humans are really good at deriving meaning.In this chapter, we’ll cover the basics of XML – essentially, most of the information you’ll need to know to get a handle on this exciting technology.After we’re done exploring some terminology and examples, we’ll jump right in and start working with XML documents.