XML : Extensible Market Language



Assalamualaikum!
Alhamdulillahirrabil alamin.
Gratitude we bid to Allah because giving us
another opportunity to live on this earth to worship Him



This week we learned about Extensible Market Language (XML). Basically, XML is use to transport and store data and focus on what data is. Sometimes people confused XML with HTML. XML is not a replacement for HTML but both of them use a similar language. XML also can be described as a software and hardware independent tool for carrying information.


Differences between HTML and XML

HTML XML
designed to display data designed to transport and store data
focus on how data looks focus on what data is
displaying information carrying information


Example :

Input

<note>
<to>Amirul</to>
<from>Anas</from>
<heading>Greeting</heading>
<body>Welcome to the new mahallah!</body>
</note>

Output

To: Amirul

From: Anas

Greeting: Welcome to the new mahallah!

Function XML

  1. Simplifies data sharing
  2. Simplifies platform changes
  3. Makes your data more available
  4. Create new Internet languages

XML Tree

XML documents form a tree structure that starts at "the root" and branches to "the leaves".




To see tutorial for XML for beginner [click here]
For more info about XML you can visit this page : http://www.xmlfiles.com/xml/