Booklet

author

Hack University

IT & Software

What is XML?

What is XML?

XML stands for eXtensible Markup Language...

- It's a markup language much like HTML.

- It was designed to store and transform data.

- It was designed to be more self-descriptive.

- It's a W3C Recommendation.

XML example:

<note>

<to>tonystark</to>

<from>hackuniversity</from>

<heading>love</heading>

<body>We love you 3000!</body>

</note>

You'll notice that XML language has no predefines tags. The tags above like <to> and <from> are not defined in any XML standard.

The coder must define both the tags and the document structure.

XML doesn't actually do anything...

It's just information wrapped in tags.

Someone must write a piece of software to send, receive, store, or display it.

Difference between...

XML

- XML was designed to carry data with a focus on what the data is.

- These tags aren't predefined.

HTML

- HTML was designed to display data with a focus on how the data looks.

- These tags are predefined.

XML simplifies things...

- It simplifies data sharing.

- It simplifies data transport.

- It simplifies platform changes.

- It simplifies data availability.

With XML, data can be available to people, computers, voice machines, news feeds, etc.

Who doesn't love data!

Join our tech and design community! @hackuniversity

More booklets by Hack University

More IT & Software booklets

Your recently viewed booklets

  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
  • booklet-slide-images
See all booklets