For example, take a look at this text:
Bristol, EnglandYou probably recogize the text as describing a place. To a computer, the text by itself
has no inherent meaning, like it does to the human reader. XML allows us to describe the text in terms
a computer can understand.
If I were to describe the text in English, I might write something like:
Bristol, England is a place.
If I were to describe the text in XML, I would write something like:
<place>Bristol,England</place><place> is a
tag. All this place tag does is describe the text within it as a place to the computer. Easy enough?
So, what is XML? Simply a way to describe text. XML is particularly useful to describe text to a computer, but works well for people too.
This kind of like HTML to me, and it should. HTML is another markup language. There are many differences between HTML and XML,
and if you know HTML, it would be a good idea to find out what the
differences between HTML and XML are.