XML is a meta-language for describing markup languages. In other words, XML provides a facility to define tags and the structural relationships between them. XML is different with HTML as XML was designed to transport and store data, with focus on what data is. Meanwhile, HTML was designed to display data, with focus on how data looks. XML is often used to simplify data storage.
Below are the exercise that I did:
XML Tree |
XML Table
Medicine | Science |
Pathology | Bio Medicine |
32 Students | 100 Students |
40 Staff | 50 Staff |
HTAA | Gombak |
XML Documentations
<University>
<Faculty category="Medicine">
<Department>Pathology</Department>
<Students>32 Students</Students>
<Staff>40 Staffs</Staff>
<Location>HTAA</Location>
</Faculty>
<Faculty category="Science">
<Department>Bio Medicine</Department>
<Students>100 Students</Students>
<Staff>50 Staffs</Staff>
<Location>Gombak</Location>
</Faculty>
</University>
To know more about XML, please click here
Or you can click here to have some XML tutorial.