What is XML?


background image

If you are a blogger, you probably came across the term XML before. It is all over the place. But what is XML after all? And more importantly, should you care about it?

XML stands for Extensible Markup Language. Basically, it is a markup language created to transport structured data across different systems and platforms. There is an article over W3C titled “XML in 10 Points,” which gives an introduction to this language. The 10 points are:

  1. XML is for structuring data
  2. XML looks a bit like HTML
  3. XML is text, but isn’t meant to be read
  4. XML is verbose by design
  5. XML is a family of technologies
  6. XML is new, but not that new
  7. XML leads HTML to XHTML
  8. XML is modular
  9. XML is the basis for RDF and the Semantic Web
  10. XML is license-free, platform-independent and well-supported

After reading the article you realize why you should care about XML (or at least understand how it works). XML was created to facilitate the use of structured data across the Internet, and it is already becoming the standard for applications and platforms that try to accomplish that.

RSS, for instance, is just a modified XML format which carries the headlines and main content of your blog.

Notice that XML will not substitute HTML, but rather complement it. HTML is concerned with how data looks (on a website, for instance), while XML is concerned with describing the data itself and its structure.

The main difference between these two markup languages is that HTML has fixed tags, while in XML the tags need to be defined by the user or by the platform (that is why it is called extensible).

Many people think that Web 3.0 will be the semantic web. We can’t say for sure, but XML will probably be there, as the standard tool for transferring data across the Internet.

If you are interested you can read more about it on Wikipedia and on XML.com.

Browse all articles on the Web Tools category

10 Responses to “What is XML?”

  • medyum

    thanks… nice post

  • Daniel

    Thanks Dave, I removed it.

  • Dave

    Thanks for the article. Comment #6 has some issues.

  • DigMyPage

    Good introduction to XML. HTML can be described as a malformed XML though it is an application of SGML. And XML is a simplified form of SGML. See, some how they are related. XHTML is wellformed XML.

    XML is a markup language that can be extended. So, XHTML is a specific extension of XML for web browser.

    Some years ago I developed a markup language for writing C data structure using XML.

  • Michael from Pro Blog Design

    Good article on an important topic, but I’d disagree with this point:

    “HTML is concerned with how data looks (on a website, for instance), while XML is concerned with describing the data itself and its structure.”

    Good HTML is only concerned with describing the data and its structure, and ignores appearance entirely. That’s the job of CSS.

    The web is already much more semantic. There’s no need to wait for someone to declare that we’re in web 3.0. 🙂

Comments are closed.